浏览代码

代码优化

mxd 2 年之前
父节点
当前提交
805487a7b7
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/components/panel/main/magic-login.vue

+ 1 - 2
src/components/panel/main/magic-login.vue

@@ -34,7 +34,6 @@ defineProps({
 const username = ref('')
 const password = ref('')
 const emit = defineEmits(['update:value', 'update:error'])
-bus.$on()
 const doLogin = () => {
     if(username.value && password.value){
         emit('update:error', null)
@@ -197,4 +196,4 @@ label {
     background-color: #1272cc;
     border-color: #1272cc;
 }
-</style>
+</style>