BUG 27935

This commit is contained in:
aixianling
2022-03-02 09:31:09 +08:00
parent 26aa5377c5
commit 7cc8089813

View File

@@ -1,7 +1,7 @@
<template>
<section class="needsDetail">
<ai-detail>
<ai-title slot="title" title="融资详情" isShowBottomBorder isShowBack @onBackClick="$router.push({query:{}})">
<ai-title slot="title" title="融资详情" isShowBottomBorder isShowBack @onBackClick="back">
<template #rightBtn>
<el-button v-if="isFinanceUser" type="primary" @click="handleGrab">抢单</el-button>
<el-button v-else type="danger" @click="handleCancel">取消发布</el-button>
@@ -86,10 +86,13 @@ export default {
}).then(res => {
if (res.code == 0) {
this.$message.success("需求取消成功")
this.getDetail()
this.back()
}
})
}).catch(() => 0)
},
back() {
this.$router.push({query: {}})
}
},
created() {