6-315/blog/static/js/register.js

33 lines
611 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var vm = new Vue({
el: '#app',
// 修改Vue变量的读取语法避免和django模板语法冲突
delimiters: ['[[', ']]'],
data: {
host,
show_menu:false,
mobile:'',
password:'',
},
mounted(){
},
methods: {
//显示下拉菜单
show_menu_click:function(){
this.show_menu = !this.show_menu ;
},
//检查手机号
check_mobile:function () {
},
//检查密码
check_mobile:function () {
},
//提交
on_submit:function () {
}
}
});