fix : 修复路由规范问题
This commit is contained in:
@@ -122,7 +122,7 @@ const search = (val) => {
|
||||
}
|
||||
const handleAdd = () => {
|
||||
router.push({
|
||||
path: '/project/demand/collection/add',
|
||||
name: 'Collection/add',
|
||||
query: {
|
||||
isAdd: 1
|
||||
}
|
||||
@@ -130,7 +130,7 @@ const handleAdd = () => {
|
||||
}
|
||||
const handleEdit = (row) => {
|
||||
router.push({
|
||||
path: '/project/demand/collection/edit',
|
||||
name: 'Collection/edit',
|
||||
query: {
|
||||
id: row.requirementId
|
||||
}
|
||||
@@ -138,7 +138,7 @@ const handleEdit = (row) => {
|
||||
}
|
||||
const handleDetail = (row) => {
|
||||
router.push({
|
||||
path: '/project/demand/collection/detail',
|
||||
name: 'Collection/detail',
|
||||
query: {
|
||||
id: row.requirementId
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ const headBtnClick = (key) => {
|
||||
|
||||
const handleAdd = () => {
|
||||
router.push({
|
||||
name: 'Demandsummaryadd',
|
||||
name: 'Summary/add',
|
||||
query: {}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user