Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
bc7a0fa9
Commit
bc7a0fa9
authored
Mar 05, 2021
by
zL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一个bug
parent
d362df55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
SearchBar.vue
src/components/TemplateManage/SearchBar.vue
+2
-2
TemplateManage.vue
src/components/category/TemplateManage.vue
+3
-1
No files found.
src/components/TemplateManage/SearchBar.vue
View file @
bc7a0fa9
...
@@ -20,11 +20,11 @@ export default class SearchBar extends Vue {
...
@@ -20,11 +20,11 @@ export default class SearchBar extends Vue {
@
Prop
()
value
!
:
string
;
@
Prop
()
value
!
:
string
;
public
emitSearch
()
{
public
emitSearch
()
{
this
.
$emit
(
"search"
,
this
.
value
);
this
.
$emit
(
"search"
,
this
.
value
.
trim
()
);
}
}
public
emitInput
(
e
:
any
)
{
public
emitInput
(
e
:
any
)
{
this
.
$emit
(
"input"
,
e
.
target
.
value
);
this
.
$emit
(
"input"
,
e
.
target
.
value
.
trim
()
);
}
}
}
}
</
script
>
</
script
>
...
...
src/components/category/TemplateManage.vue
View file @
bc7a0fa9
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
</li>
</li>
<li
<li
class=
"menu-item menu-item__two"
class=
"menu-item menu-item__two"
@
click=
"deleteTheClassification(item)"
@
click
.
stop
=
"deleteTheClassification(item)"
>
>
删除分类
删除分类
</li>
</li>
...
@@ -265,6 +265,7 @@ export default {
...
@@ -265,6 +265,7 @@ export default {
},
},
});
});
if
(
res
)
{
if
(
res
)
{
this
.
checkClassification
=
0
;
this
.
$message
({
this
.
$message
({
type
:
"success"
,
type
:
"success"
,
message
:
"删除成功!"
,
message
:
"删除成功!"
,
...
@@ -440,6 +441,7 @@ export default {
...
@@ -440,6 +441,7 @@ export default {
}
}
},
},
async
search
()
{
async
search
()
{
if
(
this
.
key
===
""
)
return
;
const
res
=
await
this
.
$ajax
({
const
res
=
await
this
.
$ajax
({
url
:
GO_URLS
.
searchCustomize
,
url
:
GO_URLS
.
searchCustomize
,
type
:
"post"
,
type
:
"post"
,
...
...
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