Authored by TaoHuang

fix url

@@ -116,15 +116,15 @@ export default { @@ -116,15 +116,15 @@ export default {
116 mounted() { 116 mounted() {
117 Promise.all([ 117 Promise.all([
118 this.fetchYohoNum(), 118 this.fetchYohoNum(),
119 - this.$store.dispatch('coupon/yoho/fetchYohoList', { 119 + this.fetchYohoList({
120 type: TYPE.notuse, 120 type: TYPE.notuse,
121 refresh: true 121 refresh: true
122 }), 122 }),
123 - this.$store.dispatch('coupon/yoho/fetchYohoList', { 123 + this.fetchYohoList({
124 type: TYPE.use, 124 type: TYPE.use,
125 refresh: true 125 refresh: true
126 }), 126 }),
127 - this.$store.dispatch('coupon/yoho/fetchYohoList', { 127 + this.fetchYohoList({
128 type: TYPE.overtime, 128 type: TYPE.overtime,
129 refresh: true 129 refresh: true
130 }) 130 })
@@ -7,7 +7,7 @@ module.exports = [ @@ -7,7 +7,7 @@ module.exports = [
7 }, 7 },
8 { 8 {
9 route: /mapp\/coupon\/yoho.html/, 9 route: /mapp\/coupon\/yoho.html/,
10 - cacheKey: '$url$params', 10 + cacheKey: '$url',
11 cacheTime: 900, 11 cacheTime: 900,
12 cache: true 12 cache: true
13 } 13 }