diff --git a/package.json b/package.json index 470c66d..7806b1c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-admin", "private": true, - "version": "1.2.27", + "version": "1.2.29", "type": "module", "scripts": { "dev": "vite", diff --git a/src/utils/request.js b/src/utils/request.js index 2ebb537..5663e8e 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -45,6 +45,7 @@ service.interceptors.response.use( ElMessage.error('登录已过期,请重新登录') _hook.useLocalStorage.clear() router.replace("/login") + window.location.reload() return Promise.reject('登录已过期,请重新登录') } else { // 响应错误 diff --git a/src/views/layout/layout.vue b/src/views/layout/layout.vue index bd813a3..e23759d 100644 --- a/src/views/layout/layout.vue +++ b/src/views/layout/layout.vue @@ -179,6 +179,12 @@ function reload() { flex-direction: column; align-items: center; background-color: var(--admin-column-bg-color); + padding: 0 15px; + box-sizing: border-box; + + :deep(.el-menu-item) { + border-radius: 12px; + } } .header { diff --git a/src/views/organization/components/authentication.vue b/src/views/organization/components/authentication.vue index 8c26bbd..01454f4 100644 --- a/src/views/organization/components/authentication.vue +++ b/src/views/organization/components/authentication.vue @@ -324,6 +324,7 @@ async function submitHandle() { } await updatePromoterInformation(form) ElMessage.success('提交成功') + merchantInfoDetailAjax() } catch (error) { console.log('334:提交表单===', error) }