dusenyao il y a 3 ans
Parent
commit
c6adc403d8

+ 21 - 12
package-lock.json

@@ -12,7 +12,7 @@
         "awe-dnd": "^0.3.4",
         "axios": "^0.24.0",
         "book-ui": "file:../book-ui-0.2.14.tgz",
-        "core-js": "^3.20.2",
+        "core-js": "^3.20.3",
         "dayjs": "^1.10.7",
         "element-ui": "^2.15.6",
         "gcls-book-question-ui": "file:../gcls-book-question-ui-0.1.0.tgz",
@@ -45,12 +45,12 @@
         "compression-webpack-plugin": "^6.1.1",
         "eslint": "^7.32.0",
         "eslint-plugin-prettier": "^4.0.0",
-        "eslint-plugin-vue": "^8.2.0",
+        "eslint-plugin-vue": "^8.3.0",
         "html-webpack-plugin": "^5.3.1",
         "postcss": "^8.4.5",
         "postcss-html": "^1.3.0",
         "prettier": "2.5.1",
-        "sass": "^1.47.0",
+        "sass": "^1.48.0",
         "sass-loader": "^10.2.0",
         "script-ext-html-webpack-plugin": "^2.1.5",
         "stylelint": "^14.0.1",
@@ -7151,9 +7151,10 @@
       }
     },
     "node_modules/core-js": {
-      "version": "3.20.2",
+      "version": "3.20.3",
+      "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.20.3.tgz",
+      "integrity": "sha512-vVl8j8ph6tRS3B8qir40H7yw7voy17xL0piAjlbBUsH7WIfzoedL/ZOr1OV9FyZQLWXsayOJyV4tnRyXR85/ag==",
       "hasInstallScript": true,
-      "license": "MIT",
       "funding": {
         "type": "opencollective",
         "url": "https://opencollective.com/core-js"
@@ -8808,9 +8809,10 @@
       }
     },
     "node_modules/eslint-plugin-vue": {
-      "version": "8.2.0",
+      "version": "8.3.0",
+      "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-8.3.0.tgz",
+      "integrity": "sha512-IIuLHw4vQxGlHcoP2dG6t/2OVdQf2qoyAzEGAxreU1afZOHGA7y3TWq8I+r3ZA6Wjs6xpeUWGHlT31QGr9Rb5g==",
       "dev": true,
-      "license": "MIT",
       "dependencies": {
         "eslint-utils": "^3.0.0",
         "natural-compare": "^1.4.0",
@@ -18065,9 +18067,10 @@
       }
     },
     "node_modules/sass": {
-      "version": "1.47.0",
+      "version": "1.48.0",
+      "resolved": "https://registry.npmjs.org/sass/-/sass-1.48.0.tgz",
+      "integrity": "sha512-hQi5g4DcfjcipotoHZ80l7GNJHGqQS5LwMBjVYB/TaT0vcSSpbgM8Ad7cgfsB2M0MinbkEQQPO9+sjjSiwxqmw==",
       "dev": true,
-      "license": "MIT",
       "dependencies": {
         "chokidar": ">=3.0.0 <4.0.0",
         "immutable": "^4.0.0",
@@ -27616,7 +27619,9 @@
       }
     },
     "core-js": {
-      "version": "3.20.2"
+      "version": "3.20.3",
+      "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.20.3.tgz",
+      "integrity": "sha512-vVl8j8ph6tRS3B8qir40H7yw7voy17xL0piAjlbBUsH7WIfzoedL/ZOr1OV9FyZQLWXsayOJyV4tnRyXR85/ag=="
     },
     "core-js-compat": {
       "version": "3.20.2",
@@ -28945,7 +28950,9 @@
       }
     },
     "eslint-plugin-vue": {
-      "version": "8.2.0",
+      "version": "8.3.0",
+      "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-8.3.0.tgz",
+      "integrity": "sha512-IIuLHw4vQxGlHcoP2dG6t/2OVdQf2qoyAzEGAxreU1afZOHGA7y3TWq8I+r3ZA6Wjs6xpeUWGHlT31QGr9Rb5g==",
       "dev": true,
       "requires": {
         "eslint-utils": "^3.0.0",
@@ -34905,7 +34912,9 @@
       }
     },
     "sass": {
-      "version": "1.47.0",
+      "version": "1.48.0",
+      "resolved": "https://registry.npmjs.org/sass/-/sass-1.48.0.tgz",
+      "integrity": "sha512-hQi5g4DcfjcipotoHZ80l7GNJHGqQS5LwMBjVYB/TaT0vcSSpbgM8Ad7cgfsB2M0MinbkEQQPO9+sjjSiwxqmw==",
       "dev": true,
       "requires": {
         "chokidar": ">=3.0.0 <4.0.0",

+ 3 - 3
package.json

@@ -17,7 +17,7 @@
     "awe-dnd": "^0.3.4",
     "axios": "^0.24.0",
     "book-ui": "file:../book-ui-0.2.14.tgz",
-    "core-js": "^3.20.2",
+    "core-js": "^3.20.3",
     "dayjs": "^1.10.7",
     "element-ui": "^2.15.6",
     "gcls-book-question-ui": "file:../gcls-book-question-ui-0.1.0.tgz",
@@ -50,12 +50,12 @@
     "compression-webpack-plugin": "^6.1.1",
     "eslint": "^7.32.0",
     "eslint-plugin-prettier": "^4.0.0",
-    "eslint-plugin-vue": "^8.2.0",
+    "eslint-plugin-vue": "^8.3.0",
     "html-webpack-plugin": "^5.3.1",
     "postcss": "^8.4.5",
     "postcss-html": "^1.3.0",
     "prettier": "2.5.1",
-    "sass": "^1.47.0",
+    "sass": "^1.48.0",
     "sass-loader": "^10.2.0",
     "script-ext-html-webpack-plugin": "^2.1.5",
     "stylelint": "^14.0.1",

+ 1 - 1
src/utils/request.js

@@ -3,7 +3,7 @@ import store from '@/store';
 import { Message } from 'element-ui';
 import { getToken } from '@/utils/auth';
 
-axios.defaults.withCredentials = true; // 跨域请求时是否需要使用凭证
+// axios.defaults.withCredentials = true; // 跨域请求时是否需要使用 cookie
 axios.defaults.headers['cache-control'] = 'no-cache';
 axios.defaults.headers['Content-Type'] = 'application/json';
 axios.defaults.headers['X-Requested-With'] = 'XMLHttpRequest';

+ 2 - 1
src/views/course_details/index.vue

@@ -326,7 +326,8 @@ export default {
         'Key395',
         'Key396',
         'Key397',
-        'Key389'
+        'Key389',
+        'Key394'
       ]
     });
   },

+ 2 - 1
src/views/task_details/student/index.vue

@@ -257,7 +257,8 @@ export default {
         'Key335',
         'Key336',
         'Key337',
-        'Key338'
+        'Key338',
+        'Key278'
       ]
     });
     this.loading = true;

+ 2 - 1
src/views/task_details/teacher/index.vue

@@ -193,7 +193,8 @@ export default {
         'Key319',
         'Key338',
         'Key324',
-        'Key325'
+        'Key325',
+        'Key278'
       ]
     });
     GetTaskInfo({

+ 1 - 1
src/views/teacher/create_course/index.vue

@@ -39,7 +39,7 @@ export default {
   },
   created() {
     this.updateWordPack({
-      word_key_list: ['Key285', 'Key286', 'Key287']
+      word_key_list: ['Key285', 'Key286', 'Key287', 'Key279']
     });
   },
   methods: {

+ 0 - 1
src/views/teacher/create_course/step_table/CreateTask.vue

@@ -505,7 +505,6 @@ export default {
     },
 
     upload(file) {
-      console.log(file);
       if (fileTypeSizeLimit(file.file.name, file.file.size)) {
         return this.$message.warning(`${file.file.name}文件大小超出限制`);
       }