Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zhmes-agecal
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
耿迪迪
zhmes-agecal
Commits
e25fd005
Commit
e25fd005
authored
Nov 13, 2025
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 进入管理系统 强制刷新界面调整
parent
5165fae5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
19 deletions
+5
-19
index.vue
zhmes-agecal-web/src/views/screen/index.vue
+5
-19
No files found.
zhmes-agecal-web/src/views/screen/index.vue
View file @
e25fd005
...
...
@@ -126,25 +126,11 @@ export default {
this
.
selectedMenu
=
index
;
},
goToAdmin
()
{
// 先手动销毁 DataV 相关组件
const
dataVContainers
=
document
.
querySelectorAll
(
'.dv-full-screen-container'
);
dataVContainers
.
forEach
(
container
=>
{
container
.
remove
();
});
// 清理可能的残留样式
const
dataVStyles
=
document
.
querySelectorAll
(
'style[data-v]'
);
dataVStyles
.
forEach
(
style
=>
{
if
(
style
.
innerHTML
.
includes
(
'dv-full-screen-container'
))
{
style
.
remove
();
}
});
setTimeout
(()
=>
{
this
.
$router
.
push
(
'/index'
).
then
(()
=>
{
window
.
location
.
href
=
window
.
location
.
origin
+
'/index?_t='
+
Date
.
now
();
});
},
100
);
// 在新窗口打开,完全隔离当前环境
const
baseUrl
=
window
.
location
.
origin
;
const
targetUrl
=
baseUrl
+
'/index?_t='
+
Date
.
now
();
window
.
open
(
targetUrl
,
'_blank'
);
},
}
}
...
...
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