Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
dbad035a
Commit
dbad035a
authored
Nov 20, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化刷新资源操作
parent
49404741
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/ResourceManage.vue
...tformIsSet/components/permissionsModel/ResourceManage.vue
+15
-5
No files found.
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/ResourceManage.vue
View file @
dbad035a
...
...
@@ -251,11 +251,21 @@ export default {
},
// 刷新资源
async
refSresource
()
{
let
res
=
await
refreshUrl
();
if
(
res
.
code
==
1
)
{
this
.
$message
.
success
(
res
.
msg
);
this
.
getResourceList
();
}
let
_this
=
this
;
this
.
$confirm
({
title
:
"
系统提示
"
,
content
:
"
确定要刷新资源吗?
"
,
okText
:
"
是
"
,
cancelText
:
"
否
"
,
centered
:
true
,
async
onOk
()
{
let
res
=
await
refreshUrl
();
if
(
res
.
code
==
1
)
{
_this
.
$message
.
success
(
res
.
msg
);
_this
.
getResourceList
();
}
},
});
},
},
};
...
...
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