去掉多余的文件

This commit is contained in:
季圣华
2021-04-14 00:24:44 +08:00
parent 1043ee9b87
commit d87f1649a4
104 changed files with 1151 additions and 20506 deletions

View File

@@ -155,9 +155,9 @@
handlePasswordLevel(rule, value, callback) {
let level = 0
let reg = /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,./]).{8,}$/;
let reg = /^(?=.*[a-z])(?=.*\d).{8,}$/;
if (!reg.test(value)) {
callback(new Error('密码由8位数字、大小写字母和特殊符号组成!'))
callback(new Error('密码由8位数字小写字母组成!'))
}
// 判断这个字符串中有没有数字
if (/[0-9]/.test(value)) {

View File

@@ -1,52 +0,0 @@
<template>
<result
:isSuccess="true"
:content="false"
:title="email">
<template slot="action">
<a-button size="large" style="margin-left: 8px" @click="goHomeHandle">返回首页</a-button>
</template>
</result>
</template>
<script>
import Result from '@/views/result/Result'
export default {
name: "RegisterResult",
components: {
Result
},
data () {
return {
form: {},
}
},
computed: {
email () {
let v = this.form ? this.form.username || this.form.mobile : ' XXX '
let title = `你的账户${v} 注册成功`
this.username = v;
return title
}
},
created () {
this.form = this.$route.params
},
methods: {
goHomeHandle () {
let params={};
params.username=this.form.username;
params.password=this.form.password;
console.log(params);
this.$router.push({name:'login',params})
},
}
}
</script>
<style scoped>
</style>