瀏覽代碼

🐞 fix(login): 添加loginfrom这个登录字段

Mcal 1 周之前
父節點
當前提交
5228c3455d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/renderer/views/login/index.vue

+ 1 - 0
src/renderer/views/login/index.vue

@@ -131,6 +131,7 @@ export default {
       app.$refs.loginForm.validate((valid) => {
         if (valid) {
           app.loading = true
+          app.loginForm.loginFrom = "cashier"
           login(app.loginForm)
             .then(() => {
               app.loading = false