lex 2 anni fa
parent
commit
f2bc642abc

+ 2 - 1
src/school/manage-teacher/menu-function.tsx

@@ -64,7 +64,8 @@ export default defineComponent({
                 buttonImage: item.buttonImage,
                 sortOrder: item.order,
                 id: item.id,
-                title: item.title
+                title: item.title,
+                homePage: item.homePage
               })
             }
           })

+ 2 - 1
src/views/adapay/pay-result/index.tsx

@@ -33,8 +33,9 @@ export default defineComponent({
     })
 
     const init = () => {
+      const query = route.query
       // 判断是否有支付对象
-      if (!state.orderNo || !state.pay_channel) {
+      if (!query.orderNo || !query.pay_channel) {
         showConfirmDialog({
           message: '支付订单信息错误请重新支付',
           showCancelButton: false