@leevan/jtui 2.0.45 → 2.0.46

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leevan/jtui",
3
- "version": "2.0.45",
3
+ "version": "2.0.46",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -972,16 +972,18 @@ export default {
972
972
  deep:true,
973
973
  handler(n){
974
974
  if(this.$refs[this.id]){
975
- const temp = this.$refs[this.id].getTableData()
976
- if(temp.fullData.length > 0){
977
- this.isShowEmpty = false
978
- }else{
979
- if(n){
975
+ setTimeout(() => {
976
+ const temp = this.$refs[this.id].getTableData()
977
+ if(temp.fullData.length > 0){
980
978
  this.isShowEmpty = false
981
979
  }else{
982
- this.isShowEmpty = true
980
+ if(n){
981
+ this.isShowEmpty = false
982
+ }else{
983
+ this.isShowEmpty = true
984
+ }
983
985
  }
984
- }
986
+ },1000)
985
987
  }else{
986
988
  this.isShowEmpty = false
987
989
  }