|
@@ -88,7 +88,7 @@ export default {
|
|
},
|
|
},
|
|
calc() {
|
|
calc() {
|
|
let active = 1
|
|
let active = 1
|
|
- const page = uni.$u.page()
|
|
|
|
|
|
+ const page = uni.$u.page().replace('//', '/')
|
|
this.list.forEach((obj, index) => {
|
|
this.list.forEach((obj, index) => {
|
|
if (obj.pagePath === page) {
|
|
if (obj.pagePath === page) {
|
|
active = index
|
|
active = index
|