Преглед изворни кода

fix:补充编制参数回填显示

liujiayin пре 2 година
родитељ
комит
ef4c440e9c

+ 1 - 0
src/business/platform/data/templatebuilder/right-aside/editors/editor-button.vue

@@ -196,6 +196,7 @@ export default {
             handler (val) {
                 if (val) {
                     this.formData = val
+                    this.formData.initAddDataCont = val.initAddDataCont ? JSON.stringify(val.initAddDataCont).replace(/\"/g, '') : ''
                     const spicialType = ['custom', 'sefStartFlow', 'openTask']
                     if (spicialType.includes(this.formData.button_type)) {
                         this.rules['code'] = [