zhaowc
2024-06-18 298cbe11a8d27bb7e4986df21f49a015916ffa94
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export default {
    inject: {
        FormInstance: {
            default: ''
        }
    },
    computed: {
        itemDisabled () {
            let state = this.disabled;
            if (!state && this.FormInstance) state = this.FormInstance.disabled;
            return state;
        }
    }
};