Parcourir la source

回传以及切换小程序优化

pansl il y a 1 an
Parent
commit
261f5bb8ff

+ 2 - 1
src/views/payBack/juliangAccount/tabs/logList/index.vue

@@ -192,7 +192,8 @@ const initAdNameOtion = (params?: object) => {
 }
 
 const resetQuery = () => {
-  reset()
+  query.value = Object.assign({ page: query.value.page, limit: query.value.limit, miniprogram_id: query.value.miniprogram_id });
+  search()
 }
 const openType = (type: string, data: object) => {
   current.value = data;

+ 2 - 1
src/views/promotion/promotionList/index.vue

@@ -242,7 +242,8 @@ const deletePromotion = (row: object) => {
 }
 
 const resetQuery = () => {
-  reset()
+  query.value = Object.assign({ page: query.value.page, limit: query.value.limit, miniprogram_id: query.value.miniprogram_id, is_config: query.value.is_config });
+  search()
 }
 const openType = (type: string, data: object) => {
   current.value = data;