Browse Source

mod:登录

panqiuyao 9 months ago
parent
commit
13a9a2d773
2 changed files with 2 additions and 3 deletions
  1. 1 1
      electron/config/config.default.js
  2. 1 2
      frontend/src/components/login/index.vue

+ 1 - 1
electron/config/config.default.js

@@ -65,7 +65,7 @@ module.exports = (appInfo) => {
    */
   config.remoteUrl = {
     enable: true,
-    url: 'http://localhost:3000/home'
+    url: 'http://localhost:3000'
   };
 
   /**

+ 1 - 2
frontend/src/components/login/index.vue

@@ -1,9 +1,9 @@
 <template>
-  <div class="login-box">
     <el-dialog
       v-model="showDialog"
       width="354px"
       custom-class="login-dialog"
+      append-to-body
       :close-on-click-modal="false"
       :show-close="false"
       @close="emit('update:dialogVisible',false)"
@@ -135,7 +135,6 @@
       </template>
     </div>
   </el-dialog>
-  </div>
 </template>
 
 <script>