Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
6 years ago
Commit
9fde2b8a99980bdb2f4296de1edb8bf993f507bc
1 parent
8df6631c
fix del
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/pages/article/components/detail/more-action-sheet.vue
apps/pages/article/components/detail/more-action-sheet.vue
View file @
9fde2b8
...
...
@@ -53,7 +53,7 @@ export default {
params = params || {};
this.list[0].hide = params.hasAttention !== 'Y';
this.list[2].hide = params.authorUid !== uid || params.author
Uid
!== 1;
this.list[2].hide = params.authorUid !== uid || params.author
Type
!== 1;
this.list = [...this.list];
this._params = params;
...
...
@@ -103,7 +103,7 @@ export default {
onConfirm: () => {
this.deleteArticle(this._params).then(res => {
if (res.code === 200) {
this.$emit('on-delete', this.
_params.articleId
);
this.$emit('on-delete', this.
index
);
} else {
this.$createToast({
type: 'warn',
...
...
Please
register
or
login
to post a comment