liyangzheng пре 1 година
родитељ
комит
52e86c78f8

+ 3 - 1
src/pages/components/HeadMenu.vue

@@ -107,7 +107,9 @@ export default {
         }
         // 退出登录
         function logOut(){
-            // windowEx.Size(384,426)
+            if(windowEx.Size != undefined){
+                windowEx.Size(384,426)
+            }
             localStorage.removeItem("loginStatus")
             router.push("/login")
         }

+ 2 - 2
src/pages/login/LoginNow.vue

@@ -21,7 +21,7 @@
                             placeholder="你的密码..." maxlength="32" />
                     </el-form-item>
                 </el-form>
-                <el-button class="loginBtn" type="primary" @click="sureLog">登录</el-button>
+                <el-button class="loginBtn" type="primary" @click="sureLog" @keyup.enter="sureLog">登录</el-button>
             </div>
         </div>
     </div>
@@ -79,7 +79,7 @@ export default {
                         message: '登陆成功!',
                         type: "success"
                     })
-                    // windowEx.Size(1920, 1040)
+                    // windowEx.Size(0, 0)
                     // windowEx.Position('center')
                 } else {
                     ElMessage({

+ 4 - 4
src/pages/system/components/InsideModule.vue

@@ -2,7 +2,7 @@
     <div>
         <div class="bigBox">
             <div style="text-align: center;">
-                <h2>装置关联模型管理</h2>
+                <h2 style="font-size: 20px;">装置关联模型管理</h2>
             </div>
             <div style="display: flex;justify-content: flex-start;align-items: center;height: 100%;">
                 <div style="height: 100%;width: calc(100% - 0px);position: relative;">
@@ -113,12 +113,12 @@ export default {
 }
 
 .setBox {
-    width: calc(100% - 11%);
+    width: calc(100% - 14%);
     height: calc(100% - 90%);
     border: 1px solid #A3ADE0;
     position: absolute;
     top: 0px;
-    left: calc(100% - 89.5%);
+    left: calc(100% - 86.5%);
     z-index: 1;
     background-color: #F7F8FB;
     line-height: calc(600%);
@@ -141,7 +141,7 @@ export default {
     text-align: center;
     line-height: 24px;
     border-top: 2px solid #255CE7;
-    font-size: 1.8rem;
+    font-size: 20px;
     margin-right: 5px;
     cursor: pointer;
 }