Demo
2024-02-04 e0fb9542b07f82b55245cf21e960d37fbab5206f
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;
        }
    }
};