| 123456789101112 |
- import { common } from '../../../utils';
- import { CacheGetValue } from '../../../service/base';
- export const useLoadViewMenu = async () => {
- const resp = await CacheGetValue({
- key: 'smallproViewMenu',
- });
- if (resp && resp.length) {
- const menu = JSON.parse(resp[0].Value || '[]');
- menu.length && wx.setStorageSync('menuList', menu);
- }
- };
|