CN-1089 统一各列表页的loading、nodata交互

This commit is contained in:
hyx
2023-06-16 17:51:08 +08:00
parent c86a7cfeae
commit 5e682f81d9
23 changed files with 300 additions and 134 deletions

View File

@@ -44,7 +44,7 @@ export default {
tableData: {
handler (n) {
if (this.tableData && this.tableData.length > 0) {
//this.isInit = false
// this.isInit = false
}
}
}
@@ -52,10 +52,14 @@ export default {
data () {
return {
operationWidth: '165', // 操作列宽
show: true
show: true,
isNoData: false
}
},
methods: {
toggleLoading (loading) {
this.$emit('toggleLoading', loading)
},
getTableWidth (list) {
if (list && list.length > 0) {
const language = localStorage.getItem(storageKey.language)