lsc 1 năm trước cách đây
mục cha
commit
85b63b5910

+ 1 - 1
dist/index.html

@@ -25,7 +25,7 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.4ea0b4507ed5c5288caffe0b3519d335.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.f1661c5ebfd33221b88f.js></script><script type=text/javascript src=./static/js/app.ff63e117c5e6e8c325cf.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.9192e6c3b011ee722a3a328ded0b2120.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.f1661c5ebfd33221b88f.js></script><script type=text/javascript src=./static/js/app.640feba760c88e83019d.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/app.9192e6c3b011ee722a3a328ded0b2120.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/app.9192e6c3b011ee722a3a328ded0b2120.css.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/app.640feba760c88e83019d.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/app.640feba760c88e83019d.js.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/app.ff63e117c5e6e8c325cf.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/manifest.3512a67a6213c2df4180.js.map


+ 7 - 7
src/components/pages/student/addCourse.vue

@@ -7037,9 +7037,7 @@ export default {
       this.ajax
         .get(this.$store.state.api + "getCourseTemplateTs", params)
         .then((res) => {
-          this.templateArray = res.data[0].filter(el => {
-            return el.oid
-          });
+          this.templateArray = res.data[0];
           this.getTemplateOrg();
           this.$forceUpdate();
         })
@@ -7054,10 +7052,12 @@ export default {
         .then((res) => {
           if (res.data[0].length) {
             let ta = res.data[0].filter(el => {
-            return el.oid
-          });
-            let newArr2 = this.templateArray.filter(x => !ta.some(y => y.id === x.id));
-            this.templateArray = [...newArr2, ...this.templateArray];
+              return el.oid
+            });
+            this.templateArray = [...ta, ...this.templateArray];
+            this.templateArray = this.templateArray.sort(function(a, b) {
+              return b.create_at < a.create_at? -1 : 1
+            })
           }
           this.$forceUpdate();
         })

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác