Commit d5ba6a73 by 高浩杰

登录注册修改密码加 enter 发布博客修改不能加网址 修改博客

parent 0a38bd70
<template>
<div>
<div class="select-container" v-if="selectType === '1'" style="min-height: 100px;width: 354px;">
<div class="select-container" v-if="selectType === '1'" @mouseleave="isShow2=false" style="min-height: 100px;width: 354px;">
<div class="select-container__input-box">
<div>
<input
......@@ -186,6 +186,7 @@ export default {
};
this.result.push(obj);
this.$popupbox.close();
this.$emit('handleTag', this.result);
this.$message({
type: 'success',
message: '标签创建成功'
......
......@@ -35,7 +35,7 @@ module.exports = {
*/
plugins: [
'~/plugins/axios',
{src:'~/plugins/mavonEditor.js',ssr:true},
{src:'~/plugins/mavonEditor.js',ssr:false},
{src:'~/plugins/cropper.js',ssr:false},
{src:'~/plugins/messageBox.js',ssr:true},
{src:'~/plugins/popupBox.js',ssr:true},
......
......@@ -40,7 +40,7 @@
></login-input>
</template>
<template #mainFooter>
<login-button @handle="handleRegister" button="注册"></login-button>
<login-button @handle="handleRegister" button="注册" ref="registerButton"></login-button>
</template>
</login-wrap>
</div>
......@@ -164,12 +164,7 @@ export default {
}
},
handleRegisterEnter() {
console.log(123);
console.log(this);
this.$on('handle', (isAgree) => {
console.log(isAgree);
this.handleRegister(isAgree)
})
this.$refs.registerButton.handel();
},
async handleRegister(isAgree) {
this.checkAccount();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment