GFRS-2618【前端】父母列表左上角加返回按钮不生效,提交一个测试给原生帮忙看下问题--提交人:张齐

This commit is contained in:
zhangqi1
2021-09-29 10:51:08 +08:00
parent e36e6ff347
commit 5a9312f6ea

View File

@@ -5,6 +5,19 @@ export function selectComp(that, index, type = '') {
// index1-父母列表2-职业类别3-弹出申请人身份证扫描功能4-弹出享受人身份证扫描功能
if (index == 1) {
;[that.parentShowPicker, title] = [true, '父母列表']
setTimeout(() => {
console.log('进入左上角返回方法了吗?')
that.$jump({
flag: 'navigation',
extra: {
title,
hiddenLeft: '1'
}
})
goBackBtn(that)
}, 400)
} else if (index == 2) {
;[that.occupationShowPicker, title] = [true, '职业类别']
} else if (index == 3) {
@@ -29,6 +42,17 @@ export function selectComp(that, index, type = '') {
}, 400)
}
function goBackBtn(that) {
console.log('是的,已经进入左上角返回方法了')
that.$jump({
flag: 'webview_left_button',
extra: {
img: that.$assetsUrl + 'images/del-close.png',
route: { flag: '', extra: {} }
}
})
}
// 关闭按钮的显示
function closeBtn(that) {
that.$jump({