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

表行禁用状态

parent 9181cf7d
......@@ -279,6 +279,7 @@ export default {
return bool
}
}
debugger
return !!(this.disabled || bool || this.$attrs.disabled)
}
},
......
......@@ -117,6 +117,7 @@
></i>
<childItem
v-else
:disabled='disabled'
:editable='editable'
v-bind="$attrs"
v-on="$listeners"
......@@ -147,6 +148,7 @@
v-bind="$attrs"
v-on="$listeners"
:editable='editable'
:disabled='disabled'
>
</childItem>
</template>
......@@ -257,6 +259,7 @@
v-else
v-bind="$attrs"
v-on="$listeners"
:disabled='disabled'
:editable='editable'
:item='column'
:prop="column.prop"
......@@ -282,6 +285,7 @@
<childItem
:item='item'
:formParms='scope.row'
:disabled='disabled'
:editable='editable'
:prop="item.prop"
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