mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(form): disable配置失效
This commit is contained in:
parent
14550ddc0f
commit
12d56aeda9
@ -162,9 +162,7 @@ const tagName = computed(() => {
|
||||
return 'm-fields-text';
|
||||
});
|
||||
|
||||
const disabled = computed(() =>
|
||||
typeof props.disabled === 'undefined' ? filterFunction(mForm, props.config.disabled, props) : props.disabled,
|
||||
);
|
||||
const disabled = computed(() => props.disabled || filterFunction(mForm, props.config.disabled, props));
|
||||
|
||||
const tooltip = computed(() => filterFunction(mForm, props.config.tooltip, props));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user