Authored by 邱骏

修改正则

@@ -59,7 +59,7 @@ const transToMiniappPath = (href) => { @@ -59,7 +59,7 @@ const transToMiniappPath = (href) => {
59 case 'go.h5': 59 case 'go.h5':
60 if (paramsObj.params && paramsObj.params.url) { 60 if (paramsObj.params && paramsObj.params.url) {
61 let regHome = /yoluck\/index/; 61 let regHome = /yoluck\/index/;
62 - let regDetail = /yoluck\/(\d+).html/; 62 + let regDetail = /yoluck\/(\d+)\.html/;
63 let detailMatchResult = paramsObj.params.url.match(regDetail); 63 let detailMatchResult = paramsObj.params.url.match(regDetail);
64 64
65 if (regHome.test(paramsObj.params.url)) { 65 if (regHome.test(paramsObj.params.url)) {