mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
添加任务列表刷新问题
This commit is contained in:
@@ -353,9 +353,9 @@ export default {
|
||||
if (props.edit) {
|
||||
api
|
||||
.editVote(obj)
|
||||
.then((res) => {
|
||||
.then(async(res) => {
|
||||
console.log("updte======");
|
||||
updateToTask(res);
|
||||
await updateToTask(res);
|
||||
closeDrawer();
|
||||
message.destroy();
|
||||
message.success("修改投票信息成功")
|
||||
@@ -367,8 +367,8 @@ export default {
|
||||
} else {
|
||||
api
|
||||
.createVote(obj)
|
||||
.then((res) => {
|
||||
updateToTask(res);
|
||||
.then(async(res) => {
|
||||
await updateToTask(res);
|
||||
closeDrawer();
|
||||
message.destroy();
|
||||
message.success("创建投票信息成功")
|
||||
|
||||
Reference in New Issue
Block a user