防止多次点击

This commit is contained in:
luyuan 2020-08-10 17:31:56 +08:00
parent a318ea9f84
commit e946b98abf
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -62,7 +62,8 @@
fileListes:[],
rSelect:[],
image:"",
token:""
token:"",
tiaozhuan:false
};
},
methods: {
@ -115,6 +116,10 @@
})
},
kaibo(){
if(this.tiaozhuan){
return ;
}
this.tiaozhuan = true
this.$u.api.createChatRoom({
chat_name:this.max,
live_desc:this.form.text,
@ -128,6 +133,7 @@
title: res.message,
type: 'error'
});
this.tiaozhuan = false
}
this.$u.route({
url:"/pages/release/zhibo",