Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-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
赵啸非
sample-form-platform
Commits
4b2a761e
Commit
4b2a761e
authored
Dec 12, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
4252031c
0cc215f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
sample-form-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
...-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
+7
-5
No files found.
sample-form-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
View file @
4b2a761e
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
effect=
"dark"
effect=
"dark"
:key=
"item.id"
:key=
"item.id"
:content=
"item.hotwords"
:content=
"item.hotwords"
v-if=
"item.hotwords.length > 6"
v-if=
"item.hotwords
?
.length > 6"
placement=
"top-start"
placement=
"top-start"
>
>
<el-tag
<el-tag
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
:disable-transitions=
"false"
:disable-transitions=
"false"
@
close=
"handleClose(item.hotwords)"
@
close=
"handleClose(item.hotwords)"
>
>
{{
`${item.hotwords.slice(0, 6)
}
...`
}}
{{
`${item.hotwords
?
.slice(0, 6)
}
...`
}}
<
/el-tag
>
<
/el-tag
>
<
/el-tooltip
>
<
/el-tooltip
>
<
el
-
tag
<
el
-
tag
...
@@ -98,7 +98,10 @@ export default {
...
@@ -98,7 +98,10 @@ export default {
if
(
res
.
data
.
code
===
1
)
{
if
(
res
.
data
.
code
===
1
)
{
this
.
newSourceEnumData
=
res
.
data
.
dict
.
newsSource
;
this
.
newSourceEnumData
=
res
.
data
.
dict
.
newsSource
;
if
(
res
.
data
.
data
.
data
.
length
>
0
)
{
if
(
res
.
data
.
data
.
data
.
length
>
0
)
{
this
.
baseSetInfo
.
hotwords
=
res
.
data
.
data
.
data
[
0
].
hotwordList
;
this
.
baseSetInfo
.
hotwords
=
res
.
data
.
data
.
data
[
0
].
hotwordList
.
slice
(
0
,
10
);
this
.
baseSetInfo
.
printDisplay
=
res
.
data
.
data
.
data
[
0
].
printDisplay
;
this
.
baseSetInfo
.
printDisplay
=
res
.
data
.
data
.
data
[
0
].
printDisplay
;
this
.
baseSetInfo
.
newsSource
=
res
.
data
.
data
.
data
[
0
].
newsSource
+
""
;
this
.
baseSetInfo
.
newsSource
=
res
.
data
.
data
.
data
[
0
].
newsSource
+
""
;
}
}
...
@@ -106,7 +109,6 @@ export default {
...
@@ -106,7 +109,6 @@ export default {
}
,
}
,
handleClose
(
tag
)
{
handleClose
(
tag
)
{
//删除当前词汇
//删除当前词汇
this
.
baseSetInfo
.
hotwords
=
this
.
baseSetInfo
.
hotwords
.
filter
(
this
.
baseSetInfo
.
hotwords
=
this
.
baseSetInfo
.
hotwords
.
filter
(
(
i
)
=>
i
.
hotwords
!=
tag
(
i
)
=>
i
.
hotwords
!=
tag
);
);
...
@@ -123,7 +125,7 @@ export default {
...
@@ -123,7 +125,7 @@ export default {
}
,
}
,
handleInputConfirm
()
{
handleInputConfirm
()
{
let
inputValue
=
this
.
inputValue
;
let
inputValue
=
this
.
inputValue
.
replaceAll
(
"
"
,
""
)
;
if
(
inputValue
)
{
if
(
inputValue
)
{
let
list
=
this
.
baseSetInfo
.
hotwords
.
filter
(
let
list
=
this
.
baseSetInfo
.
hotwords
.
filter
(
(
i
)
=>
i
.
hotwords
===
inputValue
(
i
)
=>
i
.
hotwords
===
inputValue
...
...
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