pages/modal/form/index.vue
@@ -293,6 +293,25 @@ } } } const app = getApp() if (app.globalData.bindClasses) { styledefHead.form.items.push({ name: "Input", label: this.translate("classes"), labelWidth: 100, disabled: true, value: app.globalData.classes, setting: { width: 100, height: 50, }, bind: { attr: "", }, fieldId: "S_CLASSES", }) styledefHead.form.model["S_CLASSES"] = app.globalData.classes } } this.setData({ @@ -900,7 +919,6 @@ //判断表单里是否有返回字段,没有就装载到model里,点击确定提交的时候带上这些数据 }) console.log(head_styledef) this.setData({ head_styledef: head_styledef })