YaolongHan 5 years ago
parent
commit
b05df21b3a
3 changed files with 4 additions and 4 deletions
  1. 0 1
      src/components/edit/right_toolbar.vue
  2. 3 2
      src/views/drafts.vue
  3. 1 1
      vue.config.js

+ 0 - 1
src/components/edit/right_toolbar.vue

@@ -131,7 +131,6 @@ export default {
         if (val.Relations.length) {
           this.elementData = this.elementData.concat(val.Relations);
         }
-        console.log(this.elementData);
       });
     },
     callback(key) {

+ 3 - 2
src/views/drafts.vue

@@ -350,11 +350,12 @@ export default {
       this.legendData = [];
       this.systemName = "";
       this.floorName = "";
+      this.seq =''
       this.systemName = items.Gcode;
       this.floorName = id.Code;
       this.floorId = id.Gname;
       this.categoryId = items.Id;
-      this.seq = items.Seq;
+      this.seq = id.Seq;
       // this.getLegend();
       this.checkFloor(id.Gname);
       console.log(items);
@@ -375,6 +376,7 @@ export default {
             this.systemName = "";
             this.floorName = "";
             this.floorId = "";
+            this.seq = "";
             this.categoryId = "";
             if (data.length) {
               (function recursion(newObj) {
@@ -593,7 +595,6 @@ export default {
 
         // 发布成功跳转草稿箱
         const token = this.$store.getters["token"];
-        alert(this.seq)
         this.$router.push({
           path: "editer",
           query: {

+ 1 - 1
vue.config.js

@@ -17,7 +17,7 @@ module.exports = {
             '/serve': {
                 // target: 'http://192.168.200.87:8088/',
                 // target: 'http://192.168.200.83:8085/',
-                target: 'http://60.205.177.43', //阿里云
+                target: 'http://60.205.177.43:8080', //阿里云
                 changeOrigin: true,
                 secure: false,
                 pathRewrite: {