解决路由bug
This commit is contained in:
@ -152,7 +152,7 @@ const handleSelectionChange = (selection: SpecialSchemeVO[]) => {
|
||||
const handleAdd = () => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/test/specialScheme/indexEdit`,
|
||||
path: `/design-management/specialScheme/indexEdit`,
|
||||
query: {
|
||||
type: 'add'
|
||||
}
|
||||
@ -163,7 +163,7 @@ const handleAdd = () => {
|
||||
const handleUpdate = async (row?: SpecialSchemeVO) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/test/specialScheme/indexEdit`,
|
||||
path: `/design-management/specialScheme/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
@ -186,7 +186,7 @@ const handleView = (row) => {
|
||||
const handleViewInfo = (row) => {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/test/specialScheme/indexEdit`,
|
||||
path: `/design-management/specialScheme/indexEdit`,
|
||||
query: {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
|
Reference in New Issue
Block a user