优化通知详情bug

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2024-07-09 09:26:57 +00:00 committed by Gitee
parent 574d39b1a6
commit a9ebfbbd87
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -15,7 +15,9 @@
</template> </template>
<script> <script>
import {replaceImgSrc} from '../../../lib/java110/utils/ImageUtil.js' import {replaceImgSrc} from '../../../lib/java110/utils/ImageUtil.js';
import {getCurrentCommunity} from '@/api/community/community.js'
import conf from '../../../conf/config.js' import conf from '../../../conf/config.js'
import url from '../../../constant/url.js' import url from '../../../constant/url.js'
export default { export default {
@ -40,7 +42,7 @@
methods: { methods: {
_loadNoticeDetail: function() { _loadNoticeDetail: function() {
let that = this; let that = this;
that.communityId = this.java110Context.getUserInfo().communityId; that.communityId = getCurrentCommunity().communityId;
this.java110Context.request({ this.java110Context.request({
header: that.java110Context.getHeaders(), header: that.java110Context.getHeaders(),
url: url.GetNoticeListUrl, url: url.GetNoticeListUrl,