diff --git a/src/components/table/table-head.vue b/src/components/table/table-head.vue index 006e9b1..56211f6 100644 --- a/src/components/table/table-head.vue +++ b/src/components/table/table-head.vue @@ -16,7 +16,7 @@ {{ column.title || '' }} - + - + @@ -121,6 +121,12 @@ } else { return [this.columns]; } + }, + isSelectDisabled () { + let isSelectDisabled = false; + if (!this.data.length) isSelectDisabled = true; + if(!this.data.find(item => !item._disabled)) isSelectDisabled = true; + return isSelectDisabled; } }, methods: { -- libgit2 0.21.4