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

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

View File

@@ -31,7 +31,7 @@ import { useGridColumns, useGridFormSchema } from './data';
const { push } = useRouter();
const tabType = ref(0);
const route = useRoute(); // 路由
const route = useRoute();
const categoryList = ref();
// tabs 数据

View File

@@ -41,8 +41,8 @@ interface Brand {
name: string;
}
const { push } = useRouter(); // 路由
const { params } = useRoute(); // 查询参数
const { push } = useRouter();
const { params } = useRoute();
const formLoading = ref(false); // 表单的加载中1修改时的数据加载2提交的按钮禁用
const activeTab = ref('basic'); // 当前激活的标签页

View File

@@ -178,7 +178,7 @@ const recoverPageIndex = () => {
// #endregion
/** 初始化 */
const { currentRoute } = useRouter(); // 路由
const { currentRoute } = useRouter();
onMounted(async () => {
resetForm();
if (!currentRoute.value.params.id) {