@tmagic/form 1.2.0-beta.23 → 1.2.0-beta.25

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.0-beta.23",
2
+ "version": "1.2.0-beta.25",
3
3
  "name": "@tmagic/form",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -36,8 +36,8 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@element-plus/icons-vue": "^2.0.9",
39
- "@tmagic/design": "1.2.0-beta.23",
40
- "@tmagic/utils": "1.2.0-beta.23",
39
+ "@tmagic/design": "1.2.0-beta.25",
40
+ "@tmagic/utils": "1.2.0-beta.25",
41
41
  "lodash-es": "^4.17.21",
42
42
  "sortablejs": "^1.14.0",
43
43
  "vue": "^3.2.37"
@@ -162,9 +162,7 @@ const tagName = computed(() => {
162
162
  return 'm-fields-text';
163
163
  });
164
164
 
165
- const disabled = computed(() =>
166
- typeof props.disabled === 'undefined' ? filterFunction(mForm, props.config.disabled, props) : props.disabled,
167
- );
165
+ const disabled = computed(() => props.disabled || filterFunction(mForm, props.config.disabled, props));
168
166
 
169
167
  const tooltip = computed(() => filterFunction(mForm, props.config.tooltip, props));
170
168