列表刷新
This commit is contained in:
parent
fa7774fba1
commit
9823758d07
@ -315,7 +315,8 @@ emits("closeDialog");
|
|||||||
const postQaList=()=>{
|
const postQaList=()=>{
|
||||||
request.postQaList().then((res) => {
|
request.postQaList().then((res) => {
|
||||||
const newList = res.data.data.filter(item => item.qa_id !== props.qa_id);
|
const newList = res.data.data.filter(item => item.qa_id !== props.qa_id);
|
||||||
qaList.value = newList
|
qaList.value =[]
|
||||||
|
qaList.value = [...newList]
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -717,7 +717,8 @@ request.getOssSign({
|
|||||||
request.postQaList().then((res) => {
|
request.postQaList().then((res) => {
|
||||||
|
|
||||||
const newList = res.data.data.filter(item => item.qa_id !== props.qa_id);
|
const newList = res.data.data.filter(item => item.qa_id !== props.qa_id);
|
||||||
qaList.value = newList
|
qaList.value =[]
|
||||||
|
qaList.value = [...newList]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user