Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
987c4ce7
Commit
987c4ce7
authored
Jul 14, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改问题
parent
2d1979df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
src/views/order/podUs/index.vue
+18
-6
No files found.
src/views/order/podUs/index.vue
View file @
987c4ce7
...
...
@@ -1933,7 +1933,11 @@ import RightClickMenu from '@/components/RightClickMenu.vue'
import
ResultInfo
from
'./components/ResultInfo.vue'
import
{
isArray
,
isString
}
from
'@/utils/validate'
import
platformJson
from
'../../../json/platform.json'
import
{
useRouter
,
type
NavigationGuardNext
,
type
RouteLocationNormalized
,
}
from
'vue-router'
declare
global
{
interface
Window
{
ActiveXObject
:
{
...
...
@@ -1967,6 +1971,7 @@ const exportVisible = ref(false)
const
exportForm
=
ref
({
resource
:
''
,
}
)
const
exportData
=
()
=>
{
exportVisible
.
value
=
true
}
...
...
@@ -3865,8 +3870,10 @@ watch(
}
,
{
immediate
:
true
}
,
)
onMounted
(()
=>
{
const
podUsStatus
=
localStorage
.
getItem
(
'podUsStatus'
)
if
(
podUsStatus
)
{
status
.
value
=
podUsStatus
}
...
...
@@ -4072,12 +4079,17 @@ function getPlatformImg(code: string) {
// 全局 loading 改为每行 loading map
const
reComposingLoadingMap
=
reactive
<
{
[
key
:
number
]:
boolean
}
>
({
}
)
window
.
addEventListener
(
'beforeunload'
,
()
=>
{
localStorage
.
removeItem
(
'podUsStatus'
)
// 执行全局清理操作
}
)
onBeforeUnmount
((
)
=>
{
const
handleBeforeRouteLeave
=
(
to
:
RouteLocationNormalized
,
from
:
RouteLocationNormalized
,
next
:
NavigationGuardNext
,
)
=>
{
localStorage
.
removeItem
(
'podUsStatus'
)
next
()
}
useRouter
().
beforeEach
((
to
,
from
,
next
)
=>
{
handleBeforeRouteLeave
(
to
,
from
,
next
)
}
)
<
/script
>
<
style
lang
=
"scss"
scoped
>
...
...
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