Ver Fonte

修复已知bug

蒋吉兆 há 3 anos atrás
pai
commit
a86814b2ad
2 ficheiros alterados com 4 adições e 2 exclusões
  1. 3 1
      web/src/main.js
  2. 1 1
      web/src/view/systemTools/formCreate/index.vue

+ 3 - 1
web/src/main.js

@@ -51,7 +51,8 @@ import {
     InputNumber,
     Steps,
     Upload,
-    Progress
+    Progress,
+    MessageBox
 } from 'element-ui';
 
 Vue.use(Button);
@@ -105,6 +106,7 @@ Vue.use(Loading.directive);
 
 Vue.prototype.$loading = Loading.service;
 Vue.prototype.$message = Message;
+Vue.prototype.$confirm = MessageBox.confirm;
 Dialog.props.closeOnClickModal.default = false
 
 // 引入封装的router

+ 1 - 1
web/src/view/systemTools/formCreate/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div style="height:80vh">
-    <iframe width="100%" height="100%" :src="'http://139.9.113.229:8888/form-generator/#/'" frameborder="0"></iframe>
+    <iframe width="100%" height="100%" :src="'http://127.0.0.1:8888/form-generator/#/'" frameborder="0"></iframe>
   </div>
 </template>