mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 10:36:31 +08:00
在线表单流程用户任务支持组件显隐设置
This commit is contained in:
@@ -220,7 +220,6 @@ const values = computed({
|
||||
return props.value;
|
||||
},
|
||||
set(val: Array<ANY_OBJECT>) {
|
||||
console.log('block values>>>>>>>>>>>>', val);
|
||||
emit('update:value', val);
|
||||
},
|
||||
});
|
||||
|
||||
@@ -355,6 +355,10 @@ const getWidgetProps = computed(() => {
|
||||
});
|
||||
|
||||
const getDisabledStatus = () => {
|
||||
const formWidgetAuth: ANY_OBJECT | null = form().formAuth()
|
||||
? form().formAuth().pc[pps.widget.variableName]
|
||||
: null;
|
||||
if (formWidgetAuth && formWidgetAuth.disabled) return true;
|
||||
return pps.widget.props.disabled;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user