Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue_django_test
Overview
Overview
Details
Activity
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
周田
vue_django_test
Commits
57b653a3
Commit
57b653a3
authored
Aug 23, 2023
by
周田
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:页面显示
parent
81111d0a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Tabs.vue
frontend/src/views/Tabs.vue
+4
-3
xdc.sqlite
xdc.sqlite
+0
-0
No files found.
frontend/src/views/Tabs.vue
View file @
57b653a3
<
template
>
<
template
>
<el-select
v-model=
"value"
clearable
placeholder=
"Select"
>
<el-select
mb-5
v-model=
"value"
placeholder=
"Select"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-select>
<br>
<br>
<el-tag
mt-5
v-for=
"tag in tags"
:key=
"tag"
class=
"mx-1"
closable
@
close=
"handleClose(tag)"
>
<el-tag
v-for=
"tag in tags"
:key=
"tag"
class=
"mx-1"
closable
@
close=
"handleClose(tag)"
>
{{
tag
}}
{{
tag
}}
</el-tag>
</el-tag>
</
template
>
</
template
>
...
@@ -14,9 +14,10 @@
...
@@ -14,9 +14,10 @@
import
axios
from
'axios'
;
import
axios
from
'axios'
;
import
{
onMounted
,
ref
,
watch
}
from
'vue'
import
{
onMounted
,
ref
,
watch
}
from
'vue'
const
tags
=
ref
<
string
[]
>
([])
const
tags
=
ref
<
string
[]
>
([
'111'
,
'222'
])
const
handleClose
=
(
tag
:
string
)
=>
{
const
handleClose
=
(
tag
:
string
)
=>
{
tags
.
value
.
splice
(
tags
.
value
.
indexOf
(
tag
),
1
)
tags
.
value
.
splice
(
tags
.
value
.
indexOf
(
tag
),
1
)
console
.
log
(
tags
.
value
);
}
}
...
...
xdc.sqlite
View file @
57b653a3
No preview for this file type
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