Browse Source

fix: route

main
xingyu 2 years ago
parent
commit
c804dddb7d
  1. 1
      .vscode/settings.json
  2. 4
      src/router/routes/index.ts
  3. 2
      src/views/pay/demo/index.vue

1
.vscode/settings.json vendored

@ -150,6 +150,7 @@
"sider",
"sortablejs",
"stylelint",
"svgs",
"tailwind",
"tailwindcss",
"tinymce",

4
src/router/routes/index.ts

@ -134,9 +134,9 @@ export const JobLogRoute: AppRouteRecordRaw = {
}
export const PayRoute: AppRouteRecordRaw = {
path: '/cashRegister',
path: '/pay',
component: LAYOUT,
name: 'cashRegister',
name: 'pay',
meta: {
title: '收银台',
hidden: true,

2
src/views/pay/demo/index.vue

@ -38,7 +38,7 @@ function handleAdd() {
/** 支付按钮操作 */
function handlePay(record: Recordable) {
go(`/cashRegister/submit?id=${record.id}`)
go(`/pay/cashier?id=${record.id}`)
}
/** 退款按钮操作 */