Răsfoiți Sursa

修改文件存储类型

duy 1 an în urmă
părinte
comite
ab2748583b
2 a modificat fișierele cu 5 adăugiri și 4 ștergeri
  1. 3 2
      src/views/tentative/metadata.vue
  2. 2 2
      vue.config.js

+ 3 - 2
src/views/tentative/metadata.vue

@@ -58,7 +58,7 @@
               :value="item.value">
               </el-option>
            </el-select>
-          <el-button type="primary" @click="allocationSave">保存</el-button>
+          <!-- <el-button type="primary" @click="allocationSave">保存</el-button> -->
         </div>
           
         <el-table
@@ -102,7 +102,7 @@
         <el-button @click="setMetadataTag = false">取 消</el-button>
         <el-button
           type="primary"
-          @click="setMetadataTag = false"
+          @click="allocationSave"
         >确 定</el-button>
       </span>
     </el-dialog>
@@ -550,6 +550,7 @@ export default {
         this.handleCurrentChange(1);
         this.queryChange();
       })
+      this.setMetadataTag=false
     }
   }
 };

+ 2 - 2
vue.config.js

@@ -27,12 +27,12 @@ module.exports = {
             '/api': {
                 //本地服务接口地址
                 // target: 'http://192.168.3.64',
-                target: 'http://localhost:8090',
+                // target: 'http://localhost:8090',
                 // target: 'http://192.168.1.179:8090',
                 // target: 'http://192.168.31.96',
                 // target: 'http://192.168.0.155:1888', //刘依程
                 //远程演示服务地址,可用于直接启动项目
-                // target: 'http://47.110.251.215:8090',
+                target: 'http://47.110.251.215:8090',
 
                 ws: true,
                 pathRewrite: {