feat(project): align store delivery pages with live APIs and geocode status
This commit is contained in:
@@ -13,7 +13,7 @@ import type {
|
||||
StoreFeesSettingsSnapshot,
|
||||
} from '#/views/store/fees/types';
|
||||
|
||||
import { computed, onMounted, reactive, ref, watch } from 'vue';
|
||||
import { computed, onActivated, onMounted, reactive, ref, watch } from 'vue';
|
||||
|
||||
import { message } from 'ant-design-vue';
|
||||
|
||||
@@ -284,6 +284,8 @@ export function useStoreFeesPage() {
|
||||
|
||||
// 8. 页面首屏初始化。
|
||||
onMounted(loadStores);
|
||||
// 9. 路由回到当前页时刷新门店列表,避免使用旧缓存。
|
||||
onActivated(loadStores);
|
||||
|
||||
return {
|
||||
PACKAGING_MODE_OPTIONS,
|
||||
|
||||
Reference in New Issue
Block a user