Explorar o código

修改字段方便配置

pixel %!s(int64=4) %!d(string=hai) anos
pai
achega
40049f621d
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  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>