ine="javascript">
    new Vue({
        el: '#app',
        data: {
            username: '',
            password: '',
            email: ''
        },
        methods: {
            handleRegister() {
                if (this.username === '' || this.password === '' || this.email === '') {
                    this.$message.error('请完整填写表单')
                    return;
                }
                let pattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
                