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
c05c5681
Commit
c05c5681
authored
Feb 17, 2020
by
yanju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态删除添加弹框
parent
0a1a1e0e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
components/pc/socialContactCard.vue
+15
-2
pages/personal-center/message.vue
+1
-0
pages/project/release/index.vue
+1
-1
No files found.
components/pc/socialContactCard.vue
View file @
c05c5681
...
...
@@ -28,7 +28,7 @@
<yun-icon
v-if=
"userId===$store.state.userProfile.userId"
name=
"down_arrow"
size=
"6px"
color=
"#999"
@
click
.
native
.
stop=
"clickToShowDrop"
></yun-icon>
<p
v-if=
"isMy&&status===-1"
class=
"label-box__err"
>
被锁定
</p>
<dropdown
v-if=
"showDrop"
>
<li
@
click=
"
dateDeleteCard
(postId)"
ref=
"deleteButton"
>
删除
</li>
<li
@
click=
"
showAlert
(postId)"
ref=
"deleteButton"
>
删除
</li>
</dropdown>
</div>
</div>
...
...
@@ -285,7 +285,20 @@
this
.
status
=
info
.
status
;
}
},
dateDeleteCard
(
id
){
showAlert
(
id
){
this
.
$alert
(
'确认删除?'
,
''
,
{
confirmButtonText
:
'确定'
,
callback
:
action
=>
{
this
.
dateDeleteCard
(
id
)
}
});
},
showAlert
(
id
){
this
.
$axios
.
$delete
(
config
.
api
.
delete
.
Post
.
delete
+
id
).
then
((
response
)
=>
{
if
(
response
.
code
===
0
){
// this.$emit(config.event.listenSocialCardState,1);
...
...
pages/personal-center/message.vue
View file @
c05c5681
...
...
@@ -118,6 +118,7 @@
type
:
'success'
,
message
:
'已全部标记已读'
});
this
.
message
=
[];
this
.
restartPagination
();
}
else
{
this
.
$message
({
...
...
pages/project/release/index.vue
View file @
c05c5681
...
...
@@ -251,7 +251,7 @@ export default {
zIndex
:
100
,
imgSrc
:
''
,
lastSaveTime
:
new
Date
(),
List1
:
[{
tagId
:
1
,
tag
:
"MPL"
},{
tagId
:
2
,
tag
:
"BSD"
},{
tagId
:
3
,
tag
:
"Com"
},{
tagId
:
4
,
tag
:
"QPL"
},{
tagId
:
5
,
tag
:
"QNCL"
},{
tagId
:
6
,
tag
:
"Jab"
},{
tagId
:
7
,
tag
:
"IBM"
}],
List1
:
[{
tagId
:
0
,
tag
:
"无"
},{
tagId
:
1
,
tag
:
"MPL"
},{
tagId
:
2
,
tag
:
"BSD"
},{
tagId
:
3
,
tag
:
"Com"
},{
tagId
:
4
,
tag
:
"QPL"
},{
tagId
:
5
,
tag
:
"QNCL"
},{
tagId
:
6
,
tag
:
"Jab"
},{
tagId
:
7
,
tag
:
"IBM"
}],
List2
:
[{
tagId
:
1
,
tag
:
"C"
},
{
tagId
:
2
,
tag
:
"Java"
},{
tagId
:
3
,
tag
:
"Javascript"
},{
tagId
:
4
,
tag
:
"python"
},{
tagId
:
5
,
tag
:
"C++"
}],
license
:
''
,
// 项目协议
language
:
''
,
// 项目语言
...
...
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