default display fix

This commit is contained in:
bkfox 2022-12-12 12:38:20 +01:00
parent d2a65bd1fe
commit fceee3146e
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -323,7 +323,7 @@ export default {
mounted() {
this.initData && this.loadData(this.initData)
this.page = (this.items) ? Page.List : Page.Text
this.page = this.items.length ? Page.List : Page.Text
},
}
</script>