diff --git a/src/views/AppKeyGoods.vue b/src/views/AppKeyGoods.vue
index a0a51cf..3d5e0cb 100644
--- a/src/views/AppKeyGoods.vue
+++ b/src/views/AppKeyGoods.vue
@@ -9,7 +9,7 @@ export default {
{label: "重点单品", prop: "goodsCategoryName"},
{label: "销售额", prop: "saleNum", width: 70},
{label: "库存数量", prop: "stockNum", width: 70},
- {label: "销售目标", prop: "targetSaleNum", width:70},
+ {label: "销售目标", prop: "targetSaleNum", width: 70},
{label: "销售达成", prop: "saleAchieveRate"},
]
}
@@ -32,7 +32,7 @@ export default {
getTableData() {
const {$http, $waitFor} = window
$waitFor($http).then(() => $http.post("/data-boot/la/screen/marketBoard/marketKeyGoods", {
- // ...this.search, limit: 999
+ ...this.search, limit: 999
})).then(res => {
if (res?.data) {
this.tableData = res.data?.records || []
@@ -40,9 +40,9 @@ export default {
})
}
},
- watch:{
+ watch: {
search: {
- immediate:true,deep:true,handler(){
+ immediate: true, deep: true, handler() {
this.getTableData()
}
}
@@ -52,7 +52,7 @@ export default {
diff --git a/src/views/AppNavbar.vue b/src/views/AppNavbar.vue
index daf178c..14c41cc 100644
--- a/src/views/AppNavbar.vue
+++ b/src/views/AppNavbar.vue
@@ -1,25 +1,22 @@