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
e95edae3
Commit
e95edae3
authored
Aug 08, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化证书校验
parent
3076d301
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
24 deletions
+26
-24
portal-manager-ui/admin/src/components/licenseHint/index.js
portal-manager-ui/admin/src/components/licenseHint/index.js
+13
-12
portal-manager-ui/admin/src/components/watermark/index.js
portal-manager-ui/admin/src/components/watermark/index.js
+13
-12
No files found.
portal-manager-ui/admin/src/components/licenseHint/index.js
View file @
e95edae3
...
...
@@ -4,7 +4,9 @@ import store from "@/store"; // 导入 Vuex store 实例
const
licenseHintModal
=
vue
.
extend
(
LicenseHintModal
);
function
showLicenseHintModal
(
duration
=
5
)
{
const
existingModal
=
document
.
getElementById
(
"
licenseHintModal
"
);
if
(
!
existingModal
)
{
if
(
existingModal
)
{
document
.
body
.
removeChild
(
existingModal
);
}
const
dom
=
new
licenseHintModal
({
store
,
el
:
document
.
createElement
(
"
div
"
),
...
...
@@ -16,7 +18,6 @@ function showLicenseHintModal(duration = 5) {
});
dom
.
$el
.
id
=
"
licenseHintModal
"
;
document
.
body
.
appendChild
(
dom
.
$el
);
}
}
function
registryModal
()
{
...
...
portal-manager-ui/admin/src/components/watermark/index.js
View file @
e95edae3
...
...
@@ -12,7 +12,9 @@ let defaultParams = {
};
function
showWatermarkCom
(
watermark
=
defaultParams
)
{
const
existingModal
=
document
.
getElementById
(
"
Watermark
"
);
if
(
!
existingModal
)
{
if
(
existingModal
)
{
document
.
body
.
removeChild
(
existingModal
);
}
const
dom
=
new
watermarkCom
({
store
,
el
:
document
.
createElement
(
"
div
"
),
...
...
@@ -24,7 +26,6 @@ function showWatermarkCom(watermark = defaultParams) {
});
dom
.
$el
.
id
=
"
Watermark
"
;
document
.
body
.
appendChild
(
dom
.
$el
);
}
}
function
registryCom
()
{
...
...
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