Skip to content

The open source simple and complete warehouse management system is derived from our many years of experience in implementing erp projects. We stripped the original commercial system wms function and opened it up for free, hoping to help the majority of small and medium-sized enterprises. At present, the system supports cross-platform。

update(login): Modify some details of the interface

liufu7fd614800f30
diff --git a/frontend/src/components/system/languages.vue b/frontend/src/components/system/languages.vue
index dae2a2b..e5bd8be 100644
--- a/frontend/src/components/system/languages.vue
+++ b/frontend/src/components/system/languages.vue
@@ -2,8 +2,8 @@
<div class="languageIcon">
<v-menu>
<template #activator="{ props }">
- <!-- <v-icon icon="mdi-translate" color="#666666" v-bind="props"></v-icon> -->
- <v-icon icon="mdi-web" color="#666666" v-bind="props"></v-icon>
+ <v-icon icon="mdi-translate" color="#666666" v-bind="props"></v-icon>
+ <!-- <v-icon icon="mdi-web" color="#666666" v-bind="props"></v-icon> -->
</template>
<v-list>
<v-list-item v-for="(item, index) in data.languageList" :key="index" :value="index" @click="method.changeLanguage(item.value)">
diff --git a/frontend/src/view/login/login.vue b/frontend/src/view/login/login.vue
index 7ebe686..e923faa 100644
--- a/frontend/src/view/login/login.vue
+++ b/frontend/src/view/login/login.vue
@@ -19,16 +19,22 @@
</template>
<script lang="ts" setup>
-import { reactive } from 'vue'
+import { reactive, onMounted } from 'vue'
import LoginForm from '@/components/login/login-form.vue'
import LanguagesSwitch from '@/components/system/languages.vue'
import Logo from '@/components/system/logo.vue'
+import { emitter } from '@/utils/bus.js'
const method = reactive({
toICP: () => {
window.open('https://beian.miit.gov.cn/', '_blank')
}
})
+
+// 回到登录界面清除状态
+onMounted(() => {
+ emitter.emit('closeLoading')
+})
</script>
<style scoped lang="less">
@@ -42,7 +48,6 @@ const method = reactive({
height: 100%;
display: flex;
background-color: #fff;
- position: relative;
.loginLeft {
width: 70%;
display: flex;