fix(表单构建): 修复表单设计页面运行报错问题
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
ref="previewPage"
|
||||
class="result-wrapper"
|
||||
frameborder="0"
|
||||
src="preview.html"
|
||||
src="/preview.html"
|
||||
@load="iframeLoad"
|
||||
/>
|
||||
<div v-show="!isIframeLoaded" v-loading="true" class="result-wrapper" />
|
||||
|
||||
@@ -456,9 +456,15 @@ export default {
|
||||
this.operationType = 'download'
|
||||
},
|
||||
run() {
|
||||
this.dialogVisible = true
|
||||
this.showFileName = false
|
||||
// TODO 弹窗类型异常
|
||||
// this.dialogVisible = true
|
||||
// this.showFileName = false
|
||||
this.operationType = 'run'
|
||||
let data = {
|
||||
fileName: undefined,
|
||||
type: 'file'
|
||||
}
|
||||
this.generate(data);
|
||||
},
|
||||
copy() {
|
||||
this.dialogVisible = true
|
||||
|
||||
Reference in New Issue
Block a user