Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-web
Project
Project
Details
Activity
Releases
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
中汽研标准应用数据库
car-database-web
Commits
d6294d48
Commit
d6294d48
authored
Sep 19, 2024
by
zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.91isoft.com:90/car-database/car-database-web
parents
3178f644
c30bb5a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
checkbox.vue
src/components/CheckCoiumns/checkbox.vue
+11
-13
No files found.
src/components/CheckCoiumns/checkbox.vue
View file @
d6294d48
...
@@ -70,20 +70,18 @@ export default {
...
@@ -70,20 +70,18 @@ export default {
return
return
}
}
let
old
=
this
.
value
||
[]
let
old
=
this
.
value
||
[]
if
(
this
.
prop
==
'chcek2'
||
this
.
prop
==
'chcek0'
)
{
this
.
items
.
options
.
map
(
i
=>
{
this
.
items
.
options
.
map
(
i
=>
{
if
(
name
)
{
if
(
name
)
{
if
(
Array
.
isArray
(
old
)
&&
flag
.
includes
(
String
(
i
.
id
)))
{
if
(
Array
.
isArray
(
old
)
&&
flag
.
includes
(
String
(
i
.
id
)))
{
old
.
push
(
i
.
id
)
old
.
push
(
i
.
id
)
}
}
else
{
if
(
flag
.
includes
(
String
(
i
.
id
)))
{
console
.
log
(
i
.
id
)
old
=
this
.
removeItem
(
old
,
i
.
id
)
||
[]
}
}
}
})
}
else
{
}
if
(
flag
.
includes
(
String
(
i
.
id
)))
{
console
.
log
(
i
.
id
)
old
=
this
.
removeItem
(
old
,
i
.
id
)
||
[]
}
}
})
this
.
value
=
old
this
.
value
=
old
},
},
...
...
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