Demo
2024-02-19 b5eec4dc738e4abc20c652c041fa7b17ba0e636f
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;
        }
    }
};