修改readme.md
This commit is contained in:
parent
989cf11fb4
commit
761d28de86
|
|
@ -7,3 +7,5 @@
|
|||
- 发布时,可动态配置CDN静态资源/切换新旧版本
|
||||
|
||||
|
||||
##
|
||||
- 打包前修改 src/utils/httpRequest.js 中的 requestURl 为实际环境地址
|
||||
|
|
@ -64,7 +64,10 @@
|
|||
<el-form-item prop="captcha" v-if="isLogin">
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="14">
|
||||
<el-input v-model.trim="dataForm.captcha" placeholder="验证码">
|
||||
<el-input
|
||||
v-model.trim="dataForm.captcha"
|
||||
placeholder="验证码"
|
||||
>
|
||||
</el-input>
|
||||
</el-col>
|
||||
<el-col :span="10" class="login-captcha">
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue