优化代码

This commit is contained in:
wuxw 2024-07-09 17:22:41 +08:00
parent a1dc6e59d0
commit 489a9b1edd

View File

@ -15,7 +15,9 @@
</template>
<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 url from '../../../constant/url.js'
export default {
@ -40,7 +42,7 @@
methods: {
_loadNoticeDetail: function() {
let that = this;
that.communityId = this.java110Context.getUserInfo().communityId;
that.communityId = getCurrentCommunity().communityId;
this.java110Context.request({
header: that.java110Context.getHeaders(),
url: url.GetNoticeListUrl,