mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-02 07:54:13 +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';
|
return 'm-fields-text';
|
||||||
});
|
});
|
||||||
|
|
||||||
const disabled = computed(() =>
|
const disabled = computed(() => props.disabled || filterFunction(mForm, props.config.disabled, props));
|
||||||
typeof props.disabled === 'undefined' ? filterFunction(mForm, props.config.disabled, props) : props.disabled,
|
|
||||||
);
|
|
||||||
|
|
||||||
const tooltip = computed(() => filterFunction(mForm, props.config.tooltip, props));
|
const tooltip = computed(() => filterFunction(mForm, props.config.tooltip, props));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user