t20-common-lib 0.15.41 → 0.15.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -188,14 +188,17 @@ export default {
|
|
|
188
188
|
current: 1,
|
|
189
189
|
pageSize: 20,
|
|
190
190
|
total: 0
|
|
191
|
-
}
|
|
191
|
+
},
|
|
192
|
+
useTabMode: false
|
|
192
193
|
}
|
|
193
194
|
},
|
|
194
195
|
watch: {
|
|
195
196
|
tabList: {
|
|
196
197
|
handler() {
|
|
198
|
+
this.useTabMode = Array.isArray(this.tabList) && this.tabList.length > 0
|
|
197
199
|
this.initActiveTab()
|
|
198
200
|
},
|
|
201
|
+
deep: true,
|
|
199
202
|
immediate: true
|
|
200
203
|
},
|
|
201
204
|
errorList: {
|
|
@@ -219,9 +222,6 @@ export default {
|
|
|
219
222
|
}
|
|
220
223
|
},
|
|
221
224
|
computed: {
|
|
222
|
-
useTabMode() {
|
|
223
|
-
return Array.isArray(this.tabList) && this.tabList.length > 0
|
|
224
|
-
},
|
|
225
225
|
tableProTag() {
|
|
226
226
|
const Vue = this.$root.$options._base
|
|
227
227
|
return resolveTableProComponent(Vue)
|