Browse Source

修改bug

任重 2 months ago
parent
commit
16d6088222

+ 1 - 1
packages/merchant/src/core/libs/actions.ts

@@ -8,7 +8,7 @@ export const toHomePage = (id: string) => {
     .navigateToMiniProgram({
     .navigateToMiniProgram({
       appId: 'wx4d95c9addba81089',
       appId: 'wx4d95c9addba81089',
       envVersion: 'trial',
       envVersion: 'trial',
-      path: '/pages/mine/homepage/index' + '?id=' + id,
+      path: '/pages-sub/mine/homepage/index' + '?id=' + id,
     })
     })
     .then()
     .then()
 }
 }

+ 4 - 1
packages/merchant/src/layouts/tabbar.vue

@@ -278,7 +278,10 @@ onMounted(async () => {
                 </span>
                 </span>
                 地址
                 地址
               </label>
               </label>
-              <div class="wd-input h-[40px] lh-[40px] flex justify-between px-[20px]">
+              <div
+                class="wd-input h-[40px] lh-[40px] flex justify-between px-[20px]"
+                @click="getCurrentLocation"
+              >
                 <div>
                 <div>
                   {{ !dataForm.address.address ? '点击获取当前位置' : dataForm.address.address }}
                   {{ !dataForm.address.address ? '点击获取当前位置' : dataForm.address.address }}
                 </div>
                 </div>