You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.
问题:目前后台设置动态关闭付费选项后,H5端发图片仍显示付费开关。
经排查PostImage.vue不正常,但PostText.vue是正常的。代码文件/src/page/post/PostImage.vue文件的修改建议如下:
1、v-switch标签增加属性v-if="paycontrol"如下::
<v-switch
v-if="paycontrol"
v-model="pinned"
class="m-box m-bt1 m-bb1 m-lim-width m-pinned-row"
type="checkbox">
<slot>是否收费</slot>
</v-switch>
2、computed下增加读取状态的代码:
computed: {
...mapGetters(["compose", "composePhoto"]),
//******** 读取状态 *************
paycontrol() {
return this.$store.state.CONFIG.feed.paycontrol;
},
//*********************************
The text was updated successfully, but these errors were encountered: