mooho-base-admin-plus 2.5.12 → 2.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/history.md CHANGED
@@ -106,3 +106,4 @@ mooho-base-admin-plus@2.5.9 - 表格增加highlightRow属性和on-current-change
106
106
  mooho-base-admin-plus@2.5.10 - 增加系统管理子功能权限判定
107
107
  mooho-base-admin-plus@2.5.11 - 修复申请类别编辑的bug
108
108
  mooho-base-admin-plus@2.5.12 - 表单组件增加getFullDataWithoutValidate方法
109
+ mooho-base-admin-plus@2.5.13 - 修复弹出自定义表单只读的bug
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.5.12",
4
+ "version": "2.5.13",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -126,6 +126,7 @@
126
126
  return;
127
127
  } else if (this.task.activityInst.activity.pageMode == 'Component') {
128
128
  // 动态组件
129
+ this.readonly = !this.task.activityInst.activity.isEditable;
129
130
  this.customComponent = markRaw(this.$pages[this.task.activityInst.activity.templateUrl]); // 动态组件
130
131
  this.isCustom = true;
131
132
 
@@ -166,6 +167,7 @@
166
167
  return;
167
168
  } else if (applicationType.pageMode == 'Component') {
168
169
  // 动态组件
170
+ this.readonly = !this.task.activityInst.activity.isEditable;
169
171
  this.customComponent = markRaw(this.$pages[applicationType.templateUrl]); // 动态组件
170
172
  this.isCustom = true;
171
173
 
@@ -217,7 +219,6 @@
217
219
  this.form.data = this.model;
218
220
  this.form.onDataChange();
219
221
  this.form.clearValidate();
220
- this.readonly = !this.task.activityInst.activity.isEditable;
221
222
 
222
223
  this.width = this.form.formView.width || '800';
223
224
  this.name = this.form.formView.name;