Commit 7b9711e6 by 前端

返回

1 parent 7d4a318d
......@@ -36,7 +36,7 @@ if (systemInfo.platform != "devtools") {
case "develop":
break;
case "trial":
index = manual ? index : 4;
index = manual ? index : 2;
break;
case "release":
index = release ? index : 3;
......
......@@ -92,7 +92,10 @@ Page({
// 头部返回上一级
back() {
console.log(111111);
if(this.data.backStatus) {
wx.$router.reLaunch('packageEquity.equityPage')
return
}
const pages = getCurrentPages();
const prevPage = pages[pages.length - 2];
console.log(prevPage.route);
......
<!-- packageEquity/pages/aiCheck/result/result.wxml -->
<view class="bg"></view>
<navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="{{ backStatus?false:true }}" bindback="back">
<navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="{{ true }}" bindback="back">
<view class="navigation-title">
<view class="result-title">
<view wx:for="{{resultTab}}" wx:key="{{item.id}}" class="result-bar {{tabId == item.id ? 'active' : ''}}" data-id="{{item.id}}" bindtap="handleRuselt">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!