...
|
...
|
@@ -137,13 +137,13 @@ export default { |
|
|
});
|
|
|
},
|
|
|
async onShowMore({article, index}) {
|
|
|
if (this.yoho && this.yoho.context.isLogin && !this._uid) {
|
|
|
if (this.yoho && this.yoho.context.isLogin && !this._userUid) {
|
|
|
let user = await this.$sdk.getUser();
|
|
|
|
|
|
this._uid = user.uid;
|
|
|
this._userUid = user.uid;
|
|
|
}
|
|
|
|
|
|
this.$refs.moreAction.show(article, this._uid, index);
|
|
|
this.$refs.moreAction.show(article, this._userUid, index);
|
|
|
},
|
|
|
onDelete(index) {
|
|
|
this.$refs.scroll.delete(index);
|
...
|
...
|
|