摘要:
import router from './router/router' import store from './store' import { validatenull } from '@/util/validate' import { getToken } from '@/util/auth' 阅读全文
摘要:
import { validatenull } from './validate'; //表单序列化 export const serialize = data => { let list = []; Object.keys(data).forEach(ele => { list.push(`${e 阅读全文
摘要:
import { validatenull } from '@/util/validate'; import website from '@/config/website' const keyName = website.key + '-'; /** * 存储localStorage */ //to 阅读全文
摘要:
// 10分钟检测一次token refreshToken() { this.refreshTime = setInterval(() => { //空对象 const token = getStore({ name: "token", debug: true }) || {}; const dat 阅读全文