ソースを参照

1、登录后页面跳转至设备管理
2、去除padding-top

lihao16 6 ヶ月 前
コミット
01616fbed1

+ 1 - 1
smsb-plus-ui/src/layout/components/AppMain.vue

@@ -49,7 +49,7 @@ watch(
 }
 
 .fixed-header+.app-main {
-  padding-top: 50px;
+  padding-top: 0px;
 }
 
 .hasTagsView {

+ 2 - 1
smsb-plus-ui/src/views/login.vue

@@ -130,7 +130,8 @@ const handleLogin = () => {
       // 调用action的登录方法
       const [err] = await to(userStore.login(loginForm.value));
       if (!err) {
-        const redirectUrl = redirect.value || '/';
+        // const redirectUrl = redirect.value || '/';
+        const redirectUrl = '/device/device';
         await router.push(redirectUrl);
         loading.value = false;
       } else {