删除已发现的冗余内容

master
lemon橪 2022-05-23 14:17:36 +08:00
parent 1b4c05f70b
commit 50836e0aa3
2 changed files with 2 additions and 22 deletions

View File

@ -29,13 +29,12 @@
</Col> </Col>
</Row> </Row>
</div> </div>
</template> </template>
<script> <script>
import { login, userMsg } from "@/api/index"; import { login, userMsg } from "@/api/index";
import { validateMobile } from "@/libs/validate";
import Cookies from "js-cookie"; import Cookies from "js-cookie";
import Header from "@/views/main-components/header"; import Header from "@/views/main-components/header";
import Footer from "@/views/main-components/footer"; import Footer from "@/views/main-components/footer";
@ -74,24 +73,6 @@ export default {
trigger: "blur", trigger: "blur",
}, },
], ],
imgCode: [
{
required: true,
message: "验证码不能为空",
trigger: "blur",
},
],
mobile: [
{
required: true,
message: "手机号不能为空",
trigger: "blur",
},
{
validator: validateMobile,
trigger: "blur",
},
],
}, },
}; };
}, },
@ -167,7 +148,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.verify-con { .verify-con {
position: absolute; position: absolute;

View File

@ -33,7 +33,6 @@ let cdn = {
js: [ js: [
// vue must at first! // vue must at first!
"https://cdn.pickmall.cn/cdn/vue.min.js", "https://cdn.pickmall.cn/cdn/vue.min.js",
"https://cdn.pickmall.cn/cdn/vuex.min.js",
"https://cdn.pickmall.cn/cdn/vue-router.min.js", "https://cdn.pickmall.cn/cdn/vue-router.min.js",
"https://cdn.pickmall.cn/cdn/axios.min.js", "https://cdn.pickmall.cn/cdn/axios.min.js",
"https://cdn.pickmall.cn/cdn/iview.min.js", "https://cdn.pickmall.cn/cdn/iview.min.js",