Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mes
mes-ui
Commits
7209943a
Commit
7209943a
authored
Jan 20, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改动态路由加载问题
parent
a7e8f8e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
permission.js
src/store/modules/permission.js
+1
-1
proofingInfo.vue
src/views/mes/proofing/proofingInfo.vue
+2
-2
No files found.
src/store/modules/permission.js
View file @
7209943a
...
...
@@ -126,7 +126,7 @@ export const loadView = (view) => {
return
(
resolve
)
=>
require
([
`@/views/
${
view
}
`
],
resolve
)
}
else
{
// 使用 import 实现生产环境的路由懒加载
return
(
)
=>
import
(
`@/views/
${
view
}
`
)
return
(
resolve
)
=>
require
([
`@/views/
${
view
}
`
],
resolve
)
}
}
...
...
src/views/mes/proofing/proofingInfo.vue
View file @
7209943a
...
...
@@ -185,7 +185,7 @@ import ProogingProcess from "./components/ProogingProcess.vue";
import
ItemSelect
from
"@/components/itemSelect/single.vue"
;
import
RoutesProcessSelect
from
"@/components/routesProcessSelect/index.vue"
;
import
{
listRouteprocess
}
from
"@/api/mes/pro/routeprocess"
;
import
{
closeOpenPage
}
from
"@/plugins/tab"
;
import
tabPlugins
from
"@/plugins/tab"
;
import
{
addPrototypeRequest
,
getPrototypeRequest
,
...
...
@@ -317,7 +317,7 @@ export default {
this
.
$modal
.
msgSuccess
(
"提交成功!"
);
// 关闭页签
closeOpenPage
();
tabPlugins
.
closeOpenPage
();
})
.
catch
(()
=>
{
this
.
loading
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment