@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/lib/jtui.common.js +45 -41
- package/lib/jtui.umd.js +45 -41
- package/lib/jtui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/jt-table/index.vue +9 -7
package/package.json
CHANGED
|
@@ -972,16 +972,18 @@ export default {
|
|
|
972
972
|
deep:true,
|
|
973
973
|
handler(n){
|
|
974
974
|
if(this.$refs[this.id]){
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
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
|
-
|
|
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
|
}
|