【add】标签管理增加一些页面

This commit is contained in:
fengchenchen
2023-08-16 16:48:03 +08:00
parent 9cc5f6443e
commit 83729f60d3
16 changed files with 793 additions and 81 deletions
+3 -2
View File
@@ -97,7 +97,6 @@ service.interceptors.request.use(config => {
if (token) {
config.headers['X-Access-Token'] = token // 让每个请求携带自定义 token 请根据实际情况自行修改
}
// update-begin--author:sunjianlei---date:20200723---for 如果当前在low-app环境,并且携带了appId,就向Header里传递appId
const $route = router.currentRoute
if ($route && $route.name && $route.name.startsWith('low-app') && $route.params.appId) {
@@ -116,13 +115,15 @@ service.interceptors.request.use(config => {
if (!language) {
language = 'zh-cn'
}
const cut = language === 'zh-cn' ? 'cn' : 'us'
config.headers.language = language
// update-end-author:taoyan date:2020707 for:多租户
if (config.method === 'get') {
if (config.url.indexOf('sys/dict/getDictItems') < 0) {
config.params = {
_t: Date.parse(new Date()) / 1000,
...config.params
...config.params,
cut
}
}
}