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。

When returning to the login interface, initialize the loading status

liufude317d8e6ded
diff --git a/frontend/src/view/login/login.vue b/frontend/src/view/login/login.vue
index cc007f1..f927fd5 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">
@@ -77,7 +83,7 @@ const method = reactive({
left: 50%;
transform: translate(-50%, -50%);
- &:hover{
+ &:hover {
cursor: pointer;
color: #aaa;
}