Commit 41d8cbac authored by 何虹's avatar 何虹 💬

表行禁用状态

parent 9181cf7d
...@@ -279,6 +279,7 @@ export default { ...@@ -279,6 +279,7 @@ export default {
return bool return bool
} }
} }
debugger
return !!(this.disabled || bool || this.$attrs.disabled) return !!(this.disabled || bool || this.$attrs.disabled)
} }
}, },
......
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
></i> ></i>
<childItem <childItem
v-else v-else
:disabled='disabled'
:editable='editable' :editable='editable'
v-bind="$attrs" v-bind="$attrs"
v-on="$listeners" v-on="$listeners"
...@@ -147,6 +148,7 @@ ...@@ -147,6 +148,7 @@
v-bind="$attrs" v-bind="$attrs"
v-on="$listeners" v-on="$listeners"
:editable='editable' :editable='editable'
:disabled='disabled'
> >
</childItem> </childItem>
</template> </template>
...@@ -257,6 +259,7 @@ ...@@ -257,6 +259,7 @@
v-else v-else
v-bind="$attrs" v-bind="$attrs"
v-on="$listeners" v-on="$listeners"
:disabled='disabled'
:editable='editable' :editable='editable'
:item='column' :item='column'
:prop="column.prop" :prop="column.prop"
...@@ -282,6 +285,7 @@ ...@@ -282,6 +285,7 @@
<childItem <childItem
:item='item' :item='item'
:formParms='scope.row' :formParms='scope.row'
:disabled='disabled'
:editable='editable' :editable='editable'
:prop="item.prop" :prop="item.prop"
v-bind="$attrs" v-bind="$attrs"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment