diff --git a/README.md b/README.md
index ce5276c..815ec62 100644
--- a/README.md
+++ b/README.md
@@ -7,3 +7,5 @@
- 发布时,可动态配置CDN静态资源/切换新旧版本
+##
+- 打包前修改 src/utils/httpRequest.js 中的 requestURl 为实际环境地址
\ No newline at end of file
diff --git a/src/views/common/login.vue b/src/views/common/login.vue
index 92cc0bd..077cde4 100644
--- a/src/views/common/login.vue
+++ b/src/views/common/login.vue
@@ -12,7 +12,7 @@
status-icon
>
-
+
@@ -26,13 +26,13 @@
>
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -230,7 +233,9 @@ export default {
this.$refs["dataForm"].validate((valid) => {
if (valid) {
this.$http({
- url: this.$http.adornUrl("sys/registered?msg=" + this.dataForm.code),
+ url: this.$http.adornUrl(
+ "sys/registered?msg=" + this.dataForm.code
+ ),
method: "post",
data: this.$http.adornData({
mobile: this.dataForm.mobile,
@@ -241,7 +246,7 @@ export default {
}).then(({ data }) => {
if (data && data.code === 0) {
this.$message.success("注册成功,请登录");
- this.isLogin=true
+ this.isLogin = true;
// this.$cookie.set("token", data.token);
// this.$router.replace({ name: "home" });
} else {