Skip to content

Commit 1457876

Browse files
author
奇淼(piexlmax
authored
[Feature]:#753 (#754)
[Feature]:#753 (#754)
1 parent 1d52614 commit 1457876

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web/src/view/systemTools/formCreate/index.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
<template>
22
<div style="height:80vh">
3-
<iframe width="100%" height="100%" :src="basePath+':8888/form-generator/#/'" frameborder="0" />
3+
<iframe width="100%" height="100%" :src="`${basePath}:${basePort}/form-generator/#/`" frameborder="0" />
44
</div>
55
</template>
66

77
<script>
88
var path = import.meta.env.VITE_BASE_PATH
9+
var port = import.meta.env.VITE_SERVER_PORT
910
export default {
1011
name: 'FormGenerator',
1112
data() {
1213
return {
13-
basePath: path
14+
basePath: path,
15+
basePort: port
1416
}
1517
}
1618
}

0 commit comments

Comments
 (0)