mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2025-06-22 09:59:56 +08:00
更新到3.0.6:
1. JS代码编辑器增加语法错误提示; 2. 修复lib-render打包丢失svg图标的问题; 3. 修复其他少量bug。
This commit is contained in:
@ -38,10 +38,10 @@
|
||||
<el-row v-for="(subFormRowId, sfrIdx) in rowIdData" class="sub-form-row" :key="subFormRowId">
|
||||
<div class="sub-form-action-column hide-label">
|
||||
<div class="action-button-column">
|
||||
<el-button :disabled="actionDisabled" circle icon="el-icon-circle-plus-outline" @click="insertSubFormRow(sfrIdx)"
|
||||
:title="i18nt('render.hint.insertSubFormRow')"></el-button>
|
||||
<el-button :disabled="actionDisabled" circle icon="el-icon-delete" @click="deleteSubFormRow(sfrIdx)"
|
||||
:title="i18nt('render.hint.deleteSubFormRow')"></el-button>
|
||||
<el-button :disabled="actionDisabled" circle @click="insertSubFormRow(sfrIdx)"
|
||||
:title="i18nt('render.hint.insertSubFormRow')"><svg-icon icon-class="el-plus" /></el-button>
|
||||
<el-button :disabled="actionDisabled" circle @click="deleteSubFormRow(sfrIdx)"
|
||||
:title="i18nt('render.hint.deleteSubFormRow')"><svg-icon icon-class="el-delete" /></el-button>
|
||||
<span v-if="widget.options.showRowNumber" class="row-number-span">#{{sfrIdx+1}}</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -374,7 +374,7 @@
|
||||
}
|
||||
|
||||
:deep(.el-button) {
|
||||
font-size: 18px;
|
||||
font-size: 14px;
|
||||
padding: 0;
|
||||
background: #DCDFE6;
|
||||
border: 4px solid #DCDFE6;
|
||||
|
@ -170,11 +170,13 @@
|
||||
|
||||
insertCustomStyleAndScriptNode() {
|
||||
if (!!this.formConfig && !!this.formConfig.cssCode) {
|
||||
insertCustomCssToHead(this.formConfig.cssCode, this.formId)
|
||||
insertCustomCssToHead(this.formConfig.cssCode,
|
||||
!!this.previewState ? '' : this.formId)
|
||||
}
|
||||
|
||||
if (!!this.formConfig && !!this.formConfig.functions) {
|
||||
insertGlobalFunctionsToHtml(this.formConfig.functions, this.formId)
|
||||
insertGlobalFunctionsToHtml(this.formConfig.functions,
|
||||
!!this.previewState ? '' : this.formId)
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user