mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 03:16:45 +08:00
修改
This commit is contained in:
@@ -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: "删除提问",//事件的标题
|
||||
|
||||
Reference in New Issue
Block a user