返回调整
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
</div>
|
||||
<ai-fixed-btn>
|
||||
<div class="addBtn iconfont iconfont-iconfangda" @tap="gotoAdd()"/>
|
||||
<ai-back btn/>
|
||||
</ai-fixed-btn>
|
||||
</template>
|
||||
<interview-detail v-else/>
|
||||
@@ -46,6 +47,7 @@ import AiImage from "../../components/AiImage";
|
||||
import AiDate from "../../components/AiDate";
|
||||
import AiFixedBtn from "../../components/AiFixedBtn";
|
||||
import InterviewDetail from "./interviewDetail";
|
||||
import AiBack from "../../components/AiBack";
|
||||
|
||||
export default {
|
||||
name: "AppInterview",
|
||||
@@ -53,7 +55,7 @@ export default {
|
||||
inject: {
|
||||
root: {}
|
||||
},
|
||||
components: {InterviewDetail, AiFixedBtn, AiDate, AiImage, AiCard, AiTopFixed, AiSelect},
|
||||
components: {AiBack, InterviewDetail, AiFixedBtn, AiDate, AiImage, AiCard, AiTopFixed, AiSelect},
|
||||
data() {
|
||||
return {
|
||||
search: {title: ""},
|
||||
|
||||
@@ -41,6 +41,7 @@ import AiBack from "../../components/AiBack";
|
||||
export default {
|
||||
name: 'interviewDetail',
|
||||
components: {AiBack, AiTextarea, AiImage, AiUploader},
|
||||
inject: {root: {}},
|
||||
computed: {
|
||||
isEdit() {
|
||||
let flag = this.$route.query?.detail != 1
|
||||
@@ -73,7 +74,7 @@ export default {
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$u.toast("提交成功!")
|
||||
uni.navigateBack()
|
||||
this.root.goto({query: {}})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user