wangrong
2026-09-29 e2d1d78bc72459a0ac2e2e337bbca7c8a1e41e17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { type ModuleConfig } from '/@/cool';
import { useDict } from './index';
 
export default (): ModuleConfig => {
    return {
        ignore: {
            NProgress: ['/dict/info/data']
        },
        onLoad({ hasToken }) {
            const { dict } = useDict();
            hasToken(() => {
                dict.refresh();
            });
        }
    };
};