This commit is contained in:
lmj
2022-11-16 19:27:25 +08:00
parent 23979a3c7a
commit 015432c53c
2 changed files with 21 additions and 6 deletions

View File

@@ -240,7 +240,10 @@
.delAnswer(item.answerid)
.then(res => {
if (res.status == 200) {
$this.$refs.articleToast.show({message:'删除成功',type:'success'});
uni.showToast({
title:'删除成功'
})
// $this.$refs.articleToast.show({message:'删除成功',type:'success'});
$this.findAnData(true);
} else {
$this.$refs.articleToast.show({message:'删除失败,请稍后再试',type:'error'});
@@ -281,7 +284,10 @@
if (res.confirm) {
apiQa.del(item.id).then(res=>{
if(res.status=200){
$this.$refs.articleToast.show({message:'删除成功',type:'success'});
uni.showToast({
title:'删除成功'
})
// $this.$refs.articleToast.show({message:'删除成功',type:'success'});
let event = {
key: "DeleteQuestion",//
title: "删除提问",//事件的标题