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
673d75fd
Commit
673d75fd
authored
Aug 30, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf:修改模块
parent
677f9cec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
...al-manager-ui/admin/src/views/siteArrange/siteArrange.vue
+4
-4
No files found.
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
View file @
673d75fd
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
delay="20"
delay="20"
draggable=".common-item"
draggable=".common-item"
class="w-full h-full text-white text-xl flex items-center justify-center"
class="w-full h-full text-white text-xl flex items-center justify-center"
@add="
handleDelete
"
@add="
changeCollect
"
>
>
<span
class=
"del-text"
>
{{
placeholder
}}
</span>
<span
class=
"del-text"
>
{{
placeholder
}}
</span>
</draggable>
</draggable>
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
dragClass="dragClass"
dragClass="dragClass"
@add="addEnd"
@add="addEnd"
@start="isDel = true"
@start="isDel = true"
@end="changeCollect"
>
>
<div
<div
class=
"common-item w-full flex flex-col items-center cursor-pointer"
class=
"common-item w-full flex flex-col items-center cursor-pointer"
...
@@ -214,12 +215,11 @@ export default {
...
@@ -214,12 +215,11 @@ export default {
this
.
isDel
=
true
;
this
.
isDel
=
true
;
},
},
//
删除
常用
//
修改
常用
handleDelete
()
{
changeCollect
()
{
this
.
saveCollect
();
this
.
saveCollect
();
this
.
isDel
=
false
;
this
.
isDel
=
false
;
},
},
// 判断是否有重复
// 判断是否有重复
hasDuplicate
(
arr
)
{
hasDuplicate
(
arr
)
{
let
idSet
=
new
Set
();
let
idSet
=
new
Set
();
...
...
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