提交 66c83595 authored 作者: pengxiaohui's avatar pengxiaohui

update: 修复bug

上级 757156cf
VITE_LOGIN_URL=https://login.ezijing.com/auth/login/index VITE_LOGIN_URL=https://login.ezijing.com/auth/login/index
VITE_SHARE_URL=https://account2.ezijing.com VITE_SHARE_URL=https://accounts.ezijing.com
\ No newline at end of file \ No newline at end of file
VITE_LOGIN_URL=https://login2.ezijing.com/auth/login/index VITE_LOGIN_URL=https://login2.ezijing.com/auth/login/index
VITE_SHARE_URL=https://dev.ezijing.com:3000/h5/payment/invoice VITE_SHARE_URL=https://dev.ezijing.com:3000
\ No newline at end of file \ No newline at end of file
VITE_LOGIN_URL=https://login2.ezijing.com/auth/login/index VITE_LOGIN_URL=https://login2.ezijing.com/auth/login/index
VITE_SHARE_URL=https://account2.ezijing.com VITE_SHARE_URL=https://accounts2.ezijing.com
\ No newline at end of file \ No newline at end of file
const routes = [ const routes = [
{ {
path: '/', path: '/home',
component: () => import('./views/Index.vue') component: () => import('./views/Index.vue')
} }
] ]
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
this.payment_id = row.id this.payment_id = row.id
}, },
handleInvoiceQR(row) { handleInvoiceQR(row) {
this.shareUrl = `${import.meta.env.VITE_SHARE_URL}?id=${row.id}` this.shareUrl = `${import.meta.env.VITE_SHARE_URL}/h5/payment/invoice?id=${row.id}`
this.shareDialogVisible = true this.shareDialogVisible = true
}, },
handleSelectionChange() {}, handleSelectionChange() {},
......
...@@ -3,7 +3,7 @@ import VueRouter from 'vue-router' ...@@ -3,7 +3,7 @@ import VueRouter from 'vue-router'
Vue.use(VueRouter) Vue.use(VueRouter)
const routes = [{ path: '*', redirect: '/' }] const routes = [{ path: '*', redirect: '/payment' }]
const router = new VueRouter({ const router = new VueRouter({
mode: 'history', mode: 'history',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论