tenghui-ui 2.4.1 → 2.4.2
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
|
@@ -269,7 +269,8 @@ export default {
|
|
|
269
269
|
renderLoading: false,
|
|
270
270
|
handleWindowResize: null,
|
|
271
271
|
|
|
272
|
-
loadingPageTotal: false
|
|
272
|
+
loadingPageTotal: false,
|
|
273
|
+
isInit: false
|
|
273
274
|
};
|
|
274
275
|
},
|
|
275
276
|
computed: {
|
|
@@ -431,6 +432,7 @@ export default {
|
|
|
431
432
|
this.useMaps = JSON.parse(JSON.stringify(this.tableMap));
|
|
432
433
|
|
|
433
434
|
this.bindTotalChangeEvent();
|
|
435
|
+
this.isInit = true;
|
|
434
436
|
},
|
|
435
437
|
|
|
436
438
|
async mounted() {
|
|
@@ -472,7 +474,9 @@ export default {
|
|
|
472
474
|
|
|
473
475
|
async activated() {
|
|
474
476
|
this.handleRefreshHeight();
|
|
475
|
-
this.
|
|
477
|
+
if (this.isInit) {
|
|
478
|
+
this.bindTotalChangeEvent();
|
|
479
|
+
}
|
|
476
480
|
},
|
|
477
481
|
};
|
|
478
482
|
</script>
|