浏览代码

删除数据

zhangwf 5 年之前
父节点
当前提交
5e767f7ebd
共有 2 个文件被更改,包括 7 次插入5 次删除
  1. 5 2
      src/util/appConst.js
  2. 2 3
      src/views/h5editor/overview.vue

+ 5 - 2
src/util/appConst.js

@@ -9,9 +9,12 @@ if (process.env.NODE_ENV === 'test') {
   QINIU_DOMAIN = 'https://gatewaytest.elab-plus.com'
   DIAOYANBAO_PATH = 'http://h5test.elab-plus.com/diaoyanbao/#/preview?mgid='
 } else if (process.env.NODE_ENV === 'development') {//开发
-  BACKEND_DOMAIN = 'http://192.168.0.16:5318'
+ /* BACKEND_DOMAIN = 'http://192.168.0.16:5318'
   // QINIU_DOMAIN = 'http://139.196.5.59:5555'
-  DIAOYANBAO_PATH = 'http://192.168.4.249:8080/#/preview?mgid='
+  DIAOYANBAO_PATH = 'http://192.168.4.249:8080/#/preview?mgid='*/
+  BACKEND_DOMAIN = 'http://gatewaytest.elab-plus.com/elab-diaoyanbao'
+  QINIU_DOMAIN = 'https://gatewaytest.elab-plus.com'
+  DIAOYANBAO_PATH = 'http://h5test.elab-plus.com/diaoyanbao/#/preview?mgid='
 } else if (process.env.NODE_ENV === 'uat') {//UAT
   BACKEND_DOMAIN = 'http://192.168.0.16:5318'
   // QINIU_DOMAIN = 'http://139.196.5.59:5555'

+ 2 - 3
src/views/h5editor/overview.vue

@@ -109,7 +109,6 @@
 import Page from "./../../components/Page";
 import AppConst from "../../util/appConst";
 import editorApi from "../../api/editor";
-
 export default {
   props: {
     testcaseId: "",
@@ -178,7 +177,7 @@ export default {
     },
     editingLayer() {
       return this.vxEditor["editorElement"];
-    }
+    },
   },
   methods: {
     operationCommand(command, page, index) {
@@ -476,7 +475,7 @@ export default {
       this.$store.dispatch("sortElementsByZindex");
     }
   },
-  components: { Page },
+  components: { Page},
   watch: {
     showTopic: function(val) {
       if (val) {