From 9147a8e1fb12f85e43dbba0a5f886210b13e57d1 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Tue, 17 Nov 2020 21:29:20 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=8A=A8syncTableData?= =?UTF-8?q?=E4=BB=A5=E4=BE=BF=E5=88=A0=E9=99=A4=E5=8F=AF=E7=94=A8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 25d65866ae3ab2257134b75bc128ad572032827b. --- src/components/EditSites.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EditSites.vue b/src/components/EditSites.vue index 95b0769..b8bf07e 100644 --- a/src/components/EditSites.vue +++ b/src/components/EditSites.vue @@ -412,7 +412,7 @@ export default { this.updateDatabase() }, syncTableData () { - if (this.$refs.editSitesTable.tableData) { + if (this.$refs.editSitesTable.tableData && this.$refs.editSitesTable.tableData.length === this.sites.length) { this.sites = this.$refs.editSitesTable.tableData } },