fix: route

pull/38/head
xingyu 2023-10-15 19:49:38 +08:00
parent 3147206e8e
commit c804dddb7d
3 changed files with 4 additions and 3 deletions

View File

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

View File

@ -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,

View File

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