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", "sider",
"sortablejs", "sortablejs",
"stylelint", "stylelint",
"svgs",
"tailwind", "tailwind",
"tailwindcss", "tailwindcss",
"tinymce", "tinymce",

View File

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

View File

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