feat:移除“ // 路由”重复注释。

This commit is contained in:
YunaiV
2025-10-21 20:56:53 +08:00
parent 28843fc8fe
commit 1286623863
18 changed files with 25 additions and 23 deletions

View File

@@ -64,7 +64,7 @@ function handleExpand() {
}
/** 查看商品操作 */
const router = useRouter(); // 路由
const router = useRouter();
function handleViewSpu(id: number) {
router.push({
path: '/mall/product/spu',

View File

@@ -2,7 +2,6 @@
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { MallSpuApi } from '#/api/mall/product/spu';
// TODO @xingyu所有 mall 的 search 少了,请输入 xxx表单也是类似
import { onMounted, ref } from 'vue';
import { useRoute, useRouter } from 'vue-router';
@@ -31,12 +30,12 @@ import { $t } from '#/locales';
import { useGridColumns, useGridFormSchema } from './data';
const { push } = useRouter();
const route = useRoute(); // 路由
const route = useRoute();
const tabType = ref(0);
// TODO @AI放到 data.ts 里;
const categoryList = ref();
// tabs 数据
const tabsData = ref([
{
name: '出售中',
@@ -63,7 +62,7 @@ const tabsData = ref([
type: 4,
count: 0,
},
]);
]); // tabs 数据
/** 刷新表格 */
async function handleRefresh() {