Commit 1f76a4c5 authored by Mac's avatar Mac

1

parent 012d275b
...@@ -142,6 +142,7 @@ ...@@ -142,6 +142,7 @@
export default { export default {
data() { data() {
return { return {
pageTitle:'首店申请',
params: { params: {
year: true, year: true,
month: true, month: true,
...@@ -207,8 +208,18 @@ ...@@ -207,8 +208,18 @@
this.GetBrandTypeEnumList()//品牌归属地枚举 this.GetBrandTypeEnumList()//品牌归属地枚举
this.GetBusinessTypeEnumList()//申请认证行业枚举 this.GetBusinessTypeEnumList()//申请认证行业枚举
this.GetAuthenticationCategoryEnumList()//认证分类枚举 this.GetAuthenticationCategoryEnumList()//认证分类枚举
let currentPages = getCurrentPages();
let u = "/" + currentPages[currentPages.length - 1].route;
let pages = wx.getStorageSync("basedata")
? wx.getStorageSync("basedata").bar_title
: [];
pages.forEach((x) => {
if (x.value == u) {
this.pageTitle = x.new_name ? x.new_name : x.name;
}
});
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: '首店申请' title: this.pageTitle,
}); });
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment