mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 05:06:43 +08:00
GFRS-2618【前端】父母列表左上角加返回按钮不生效,提交一个测试给原生帮忙看下问题--提交人:张齐
This commit is contained in:
@@ -5,6 +5,19 @@ export function selectComp(that, index, type = '') {
|
||||
// index:1-父母列表;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({
|
||||
|
||||
Reference in New Issue
Block a user