mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-17 20:35:07 +08:00
fix: 优化 spu 相关路由配置
This commit is contained in:
@ -397,18 +397,18 @@ const resetQuery = () => {
|
||||
const openForm = (id?: number) => {
|
||||
// 修改
|
||||
if (typeof id === 'number') {
|
||||
push('/product/productSpuEdit/' + id)
|
||||
push('/product/spu/edit/' + id)
|
||||
return
|
||||
}
|
||||
// 新增
|
||||
push('/product/productSpuAdd')
|
||||
push('/product/spu/add')
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看商品详情
|
||||
*/
|
||||
const openDetail = (id?: number) => {
|
||||
push('/product/productSpuDetail/' + id)
|
||||
push('/product/spu/detail/' + id)
|
||||
}
|
||||
|
||||
/** 导出按钮操作 */
|
||||
|
Reference in New Issue
Block a user