xjc 2 anni fa
parent
commit
3da653dd9e

+ 1 - 0
src/views/menu4/menu4-1/index.vue

@@ -552,6 +552,7 @@ export default {
       });
     },
     handleAvatarSuccess(res, file) {
+      this.dialogForm.name = file.name;
       this.dialogForm.attach_url = [res.data];
     },
     addItems() {

+ 1 - 0
src/views/menu4/menu4-2/index.vue

@@ -648,6 +648,7 @@ export default {
       });
     },
     handleAvatarSuccess(res, file) {
+      this.dialogForm.name = file.name;
       this.dialogForm.attach_url = [res.data];
     },
     addItems() {

+ 1 - 1
src/views/menu8/menu8-1/index.vue

@@ -494,7 +494,7 @@ export default {
       return this.$confirm(`确定移除 ${file.name}?`);
     },
     download() {
-      sysApi.getTemplate({ tmpl: "category" }).then((res) => {});
+      sysApi.getTemplate({ tmpl: "work" }).then((res) => {});
     },
   },
 };

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

@@ -494,7 +494,7 @@ export default {
       return this.$confirm(`确定移除 ${file.name}?`);
     },
     download() {
-      sysApi.getTemplate({ tmpl: "category" }).then((res) => {});
+      sysApi.getTemplate({ tmpl: "exam" }).then((res) => {});
     },
   },
 };

+ 1 - 1
vue.config.js

@@ -30,7 +30,7 @@ module.exports = {
         proxy: {
             "/": {
                 // target: "http://47.108.130.28:8000",
-                target: "http://192.168.117.131:8000",
+                target: "http://192.168.192.131:8000",
                 // target: "http://47.104.213.35",
                 changeOrigin: true,
                 // ws: true,//websocket支持