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
e3ce2b0e
Commit
e3ce2b0e
authored
Feb 17, 2020
by
yanju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复项目发布
parent
04ed10f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
pages/project/release/index.vue
+2
-7
No files found.
pages/project/release/index.vue
View file @
e3ce2b0e
...
@@ -203,7 +203,7 @@ export default {
...
@@ -203,7 +203,7 @@ export default {
this
.
$refs
.
language
.
$refs
.
select
.
value
=
this
.
response
.
data
.
devLang
;
this
.
$refs
.
language
.
$refs
.
select
.
value
=
this
.
response
.
data
.
devLang
;
this
.
docLink
=
this
.
response
.
data
.
docLink
;
this
.
docLink
=
this
.
response
.
data
.
docLink
;
this
.
homeLink
=
this
.
response
.
data
.
homeLink
;
this
.
homeLink
=
this
.
response
.
data
.
homeLink
;
this
.
content
=
this
.
response
.
data
.
devLang
;
//内容
this
.
content
=
this
.
response
.
data
.
content
;
//内容
this
.
license
=
this
.
response
.
data
.
license
;
this
.
license
=
this
.
response
.
data
.
license
;
this
.
$refs
.
license
.
$refs
.
select
.
value
=
this
.
response
.
data
.
license
;
this
.
$refs
.
license
.
$refs
.
select
.
value
=
this
.
response
.
data
.
license
;
this
.
projectDescription
=
this
.
response
.
data
.
projectDescription
;
this
.
projectDescription
=
this
.
response
.
data
.
projectDescription
;
...
@@ -396,18 +396,13 @@ export default {
...
@@ -396,18 +396,13 @@ export default {
type
:
'warning'
,
type
:
'warning'
,
message
:
'请输入项目详情'
message
:
'请输入项目详情'
})
})
}
else
if
(
this
.
imgSrc
===
''
)
{
this
.
$message
({
type
:
'warning'
,
message
:
'请上传项目封面'
})
}
else
{
}
else
{
return
true
return
true
}
}
}
else
{
}
else
{
if
(
this
.
name
!==
''
&&
this
.
license
!==
''
&&
this
.
language
!==
''
if
(
this
.
name
!==
''
&&
this
.
license
!==
''
&&
this
.
language
!==
''
&&
this
.
addressLink
!==
''
&&
this
.
projectClass
!==
''
&&
this
.
projectDescription
!==
''
&&
this
.
addressLink
!==
''
&&
this
.
projectClass
!==
''
&&
this
.
projectDescription
!==
''
&&
this
.
value
!==
''
&&
this
.
imgSrc
!==
''
&&
this
.
value
!==
''
)
{
)
{
return
true
return
true
}
else
{
}
else
{
...
...
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