防止多次点击
This commit is contained in:
parent
a318ea9f84
commit
e946b98abf
@ -62,7 +62,8 @@
|
|||||||
fileListes:[],
|
fileListes:[],
|
||||||
rSelect:[],
|
rSelect:[],
|
||||||
image:"",
|
image:"",
|
||||||
token:""
|
token:"",
|
||||||
|
tiaozhuan:false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -115,6 +116,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
kaibo(){
|
kaibo(){
|
||||||
|
if(this.tiaozhuan){
|
||||||
|
return ;
|
||||||
|
}
|
||||||
|
this.tiaozhuan = true
|
||||||
this.$u.api.createChatRoom({
|
this.$u.api.createChatRoom({
|
||||||
chat_name:this.max,
|
chat_name:this.max,
|
||||||
live_desc:this.form.text,
|
live_desc:this.form.text,
|
||||||
@ -128,6 +133,7 @@
|
|||||||
title: res.message,
|
title: res.message,
|
||||||
type: 'error'
|
type: 'error'
|
||||||
});
|
});
|
||||||
|
this.tiaozhuan = false
|
||||||
}
|
}
|
||||||
this.$u.route({
|
this.$u.route({
|
||||||
url:"/pages/release/zhibo",
|
url:"/pages/release/zhibo",
|
||||||
|
Loading…
Reference in New Issue
Block a user