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
0fff5835
Commit
0fff5835
authored
Feb 09, 2020
by
xuebiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发布博客2
parent
c7e2f4b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
pages/blog/release/index.vue
+18
-12
No files found.
pages/blog/release/index.vue
View file @
0fff5835
...
...
@@ -114,7 +114,7 @@
</div>
</div>
</card-container>
<yun-cropper
:
cropperW=
"7"
:cropperH=
"5"
:
type=
"1"
:autoCrop=
"false"
:file=
"addFile"
v-on:listenCropperPic=
"getCroppedPic"
></yun-cropper>
<yun-cropper
:type=
"1"
:autoCrop=
"false"
:file=
"addFile"
v-on:listenCropperPic=
"getCroppedPic"
></yun-cropper>
</div>
</div>
</
template
>
...
...
@@ -176,7 +176,7 @@
addFile
:{},
userCover
:
''
,
cover
:
''
,
originLink
:
'
null
'
,
originLink
:
''
,
//blogAbstract:'',
questionClass
:
''
,
img
:
""
,
...
...
@@ -222,18 +222,24 @@
},
dataPost
()
{
this
.
cover
=
this
.
userCover
;
if
(
this
.
originLink
.
slice
(
0
,
12
)
===
"https://www."
||
this
.
originLink
===
"null"
)
{
if
(
this
.
cover
===
''
)
{
this
.
dataPostSaveUserInfo
(
2
)
if
(
this
.
originLink
.
slice
(
0
,
12
)
===
"https://www."
||
this
.
originLink
.
length
===
0
)
{
if
(
this
.
originLink
.
length
===
0
)
{
this
.
originLink
=
"null"
;
}
if
(
this
.
cover
===
''
)
{
this
.
dataPostSaveUserInfo
(
2
)
}
else
{
this
.
dataPostSaveUserInfo
(
1
)
}
}
else
{
this
.
dataPostSaveUserInfo
(
1
)
this
.
$message
({
message
:
"请输入开头为https://www.的有效网址"
,
type
:
'warning'
})
}
}
else
{
this
.
$message
({
message
:
"请输入开头为https://www.的有效网址"
,
type
:
'warning'
})
}
},
dataPostSaveUserInfo
(
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