Authored by ityuany

debug

... ... @@ -678,10 +678,14 @@ const yoho = {
getInput(args, success, fail) {
if (this.isYohoBuy && window.yohoInterface) {
alert(`发送消息${JSON.stringify(args)}`);
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
method: 'get.Input',
arguments: args
});
try {
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
method: 'get.Input',
arguments: args
});
} catch (e) {
alert(e.mesage);
}
} else {
// tip(tipInfo);
}
... ...
... ... @@ -61,6 +61,7 @@ export default {
this.comment(content);
}, (e) => {
console.error(e);
alert(e.message);
});
} else if (process.env.NODE_ENV !== 'production') {
this.$createDialog({
... ...
... ... @@ -57,7 +57,6 @@
<DownloadBottom v-if="share" :class="{'scroll-opacity': scrolling}"></DownloadBottom>
<ReplaceToHome :scrolling="scrolling" class="back-to-home"></ReplaceToHome>
<ArticleDetailFooter ref="footer" class="detail-fixed-footer" :style="`transform: translate3d(0, ${viewMoreArticles ? '100%' : '0'}, 0)`" v-bind="footerData" @on-comment-click="onComment">
<template v-if="articleInfo.sort != 2" v-slot:before>
<div class="footer-comment">
... ... @@ -81,6 +80,7 @@
<div v-else></div>
</template>
</ArticleDetailFooter>
<ReplaceToHome :scrolling="scrolling" class="back-to-home"></ReplaceToHome>
<MoreActionSheet transfer ref="moreAction" @on-follow="onFollowAuthor" @on-delete="onDelete" @on-edit="onEdit"></MoreActionSheet>
</Layout>
</template>
... ...
{
"name": "yoho-community-web",
"version": "6.9.8-beta56",
"version": "6.9.8-beta57",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...