From 2b458c7204bc0f61defd5dfcae17fccf53a17125 Mon Sep 17 00:00:00 2001 From: kyy <3283105747@qq.com> Date: 星期五, 25 七月 2025 08:56:48 +0800 Subject: [PATCH] 1、登录保存用户名 --- H5/Js/UserLogin.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/H5/Js/UserLogin.js b/H5/Js/UserLogin.js index 7ab253d..61d6385 100644 --- a/H5/Js/UserLogin.js +++ b/H5/Js/UserLogin.js @@ -11,13 +11,13 @@ }, mounted() { var that = this; - if (typeof (Cookies.get('phone')) == "undefined") { } + if (typeof (Cookies.get('loginAccount')) == "undefined") { } else { - that.phone = Cookies.get('phone'); - that.passwd = Cookies.get('passwd'); + that.phone = Cookies.get('loginAccount'); + // that.passwd = Cookies.get('passwd'); } - that.phone = "admin"; - that.passwd = "123456"; + // that.phone = "admin"; + // that.passwd = "123456"; }, methods: { onSubmit(name) { -- Gitblit v1.9.3