Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
a6dedbc9
Commit
a6dedbc9
authored
Feb 12, 2020
by
xuebiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复博客页面和问答页面标签的参数效验
parent
475571dc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
pages/answer/release/index.vue
+3
-1
pages/blog/release/index.vue
+1
-1
No files found.
pages/answer/release/index.vue
View file @
a6dedbc9
...
...
@@ -161,6 +161,8 @@
//参数判断
dataPostQuestion
(){
console
.
log
(
this
.
tagList
);
console
.
log
(
Array
.
from
(
this
.
tagList
));
console
.
log
(
this
.
questionTitle
.
slice
(
this
.
questionTitle
.
length
-
1
,
this
.
questionTitle
.
length
));
if
(
this
.
questionTitle
===
''
){
...
...
@@ -179,7 +181,7 @@
});
return
false
;
}
if
(
this
.
tagList
===
''
){
if
(
Array
.
from
(
this
.
tagList
).
length
===
0
){
//this.$refs.tagIds.focus();
this
.
$refs
.
tagIds
.
handleShow
();
this
.
$refs
.
tagIds
.
$refs
.
tag
.
focus
();
...
...
pages/blog/release/index.vue
View file @
a6dedbc9
...
...
@@ -326,7 +326,7 @@ export default {
});
return
false
;
}
if
(
this
.
tagList
.
size
===
''
)
{
if
(
Array
.
from
(
this
.
tagList
).
length
===
0
)
{
this
.
$refs
.
tagIds
.
handleShow
();
this
.
$refs
.
tagIds
.
$refs
.
tag
.
focus
();
this
.
$message
({
...
...
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