fix: add black

This commit is contained in:
zzc
2026-04-21 23:09:36 +08:00
parent b52d832986
commit f86e4b5b9a
2 changed files with 26 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ instance.interceptors.request.use(
}
if (store.getters['user/appId']) {
config.headers['x-app-id'] = store.getters['user/appId']
} else {
config.headers['x-app-id'] = '69665538a49b8ae3be50fe5d'
}
if (config.method === 'get' && config.params) {
config.params = Vue.prototype.$baseLodash.pickBy(config.params, Vue.prototype.$baseLodash.identity)