|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <view v-if="isAudit" class="page-container">
|
|
|
+ <view v-if="appStore.amProfileStore.isAudit()" class="page-container">
|
|
|
<view v-if="helpId">
|
|
|
<view class="text-center text-danger mb-5" v-if="form.isClose == 1">互助已关闭</view>
|
|
|
<view class="text-center text-danger mb-5" v-else-if="form.auditStatus == 2">互助未通过审核,修改后重新发布</view>
|
|
|
@@ -140,9 +140,7 @@ const form = ref<any>({
|
|
|
area: "",
|
|
|
images: "",
|
|
|
})
|
|
|
-const isAudit = computed(() => {
|
|
|
- return appStore.authStore.isAuthenticated && appStore.amProfileStore.getProfileInfo().auditStatus == 1
|
|
|
-})
|
|
|
+
|
|
|
const area = ref<any[]>([])
|
|
|
const params = route.getRouteParams("helpEdit")
|
|
|
const helpId = ref(params?.id)
|