Browse Source

修改字段方便配置

pixel 4 years ago
parent
commit
40049f621d
1 changed files with 8 additions and 2 deletions
  1. 8 2
      web/src/view/systemTools/formCreate/index.vue

+ 8 - 2
web/src/view/systemTools/formCreate/index.vue

@@ -1,12 +1,18 @@
 <template>
   <div style="height:80vh">
-    <iframe width="100%" height="100%" src="http://127.0.0.1:8888/form-generator/#/" frameborder="0"></iframe>
+    <iframe width="100%" height="100%" :src="basePath+'/form-generator/#/'" frameborder="0"></iframe>
   </div>
 </template>
 
 <script>
+var path = process.env.VUE_APP_BASE_API
 export default {
-    name:"FormGenerator"
+    name:"FormGenerator",
+    data(){
+      return{
+        basePath:path
+      }
+    },
 };
 </script>