ZaiZai hace 1 año
padre
commit
a84e6245f5
Se han modificado 3 ficheros con 8 adiciones y 4 borrados
  1. 1 1
      src/config/index.json
  2. 2 2
      src/store/modules/user.js
  3. 5 1
      src/styles/app/element.scss

+ 1 - 1
src/config/index.json

@@ -1,6 +1,6 @@
 {
     "version": "20230607160059",
-    "target": "http://192.168.0.109:8090",
+    "target": "http://192.168.0.102:8090",
     "target1": "http://39.108.216.210:8090",
     "smsPhone": "",
     "vite": {

+ 2 - 2
src/store/modules/user.js

@@ -140,8 +140,8 @@ export const RefreshToken = async () => {
         const { dept_id, role_id } = store.getUserInfo
         const refresh = store.getRefreshToken
         const tenantId = store.getTenantId
-        const { error, status, res } = await refreshToken(refresh, tenantId, dept_id, role_id)
-        if (!error && status === 200) {
+        const { error, code, res } = await refreshToken(refresh, tenantId, dept_id, role_id)
+        if (!error && code === 200) {
             store.setTokenVal(res['access_token'])
             store.setRefreshTokenVal(res['refresh_token'])
             store.setTenantId(res['tenant_id'])

+ 5 - 1
src/styles/app/element.scss

@@ -42,4 +42,8 @@
 }
 .el-table .cell{
     white-space: pre-wrap;
-}
+}
+
+.hc-excel-table-form .el-select.is-multiple {
+
+}