diff --git a/src/PagesStatistics/businessOverview.vue b/src/PagesStatistics/businessOverview.vue index 54cb9e6..daa12a8 100644 --- a/src/PagesStatistics/businessOverview.vue +++ b/src/PagesStatistics/businessOverview.vue @@ -21,7 +21,7 @@ {{ item.name }}:{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num) }} {{ item.isBefore ? "" : item.unit }} @@ -31,7 +31,8 @@ {{ item.name }}: + {{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num) }} {{ item.isBefore ? "" : item.unit }} diff --git a/src/pagesApp/stockCard.vue b/src/pagesApp/stockCard.vue index 5c64aa4..c37a41a 100644 --- a/src/pagesApp/stockCard.vue +++ b/src/pagesApp/stockCard.vue @@ -84,11 +84,14 @@ const pageList: PageResult = reactive({ pageSize: 10, }); const resetPageList = () => { - pageList.noMoreData = false; - pageList.total = 0; - pageList.list = []; - pageList.pageNum = 1; - pageList.pageSize = 10; + const obj = { + noMoreData: false, + total: 0, + list: [], + pageNum: 1, + pageSize: 10 + } + Object.assign(pageList, obj) }; const add = () => { uni.navigateTo({