|
@@ -36,7 +36,6 @@ export default (props) => {
|
36
|
36
|
Taro.scanCode({
|
37
|
37
|
onlyFromCamera: true,
|
38
|
38
|
success: (res) => {
|
39
|
|
-
|
40
|
39
|
if (res.path) {
|
41
|
40
|
getQrcode(parseQueryString(res.path.split('?')[1]).scene).then((res2) => {
|
42
|
41
|
const maid = res2.scene.split('=')[1].split('&')[0] //二维码的商铺id
|
|
@@ -44,9 +43,9 @@ export default (props) => {
|
44
|
43
|
Taro.navigateTo({
|
45
|
44
|
url: `/${res.path}&subOrderId=${item.subOrderId}`,
|
46
|
45
|
});
|
47
|
|
- }else{
|
|
46
|
+ } else {
|
48
|
47
|
Taro.showToast({
|
49
|
|
- title: "非当前店铺套餐",
|
|
48
|
+ title: "非套餐对应店铺二维码",
|
50
|
49
|
icon: "none",
|
51
|
50
|
duration: 2000,
|
52
|
51
|
});
|