Blame view

src/mixins/form.js 303 Bytes
75460ce6   FEI   input upgrade
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;
          }
      }
  };