update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup>
|
||||
import goodsIcon from '../../static/icons/goodsIcon.png';
|
||||
import XNav from "../../components/XNav.vue";
|
||||
import {defineAsyncComponent, getCurrentInstance, nextTick, onMounted, reactive, ref} from 'vue';
|
||||
import {defineAsyncComponent, getCurrentInstance, nextTick, onMounted, computed, ref} from 'vue';
|
||||
import {onLoad} from "@dcloudio/uni-app";
|
||||
import XLink from "../../components/XLink.vue";
|
||||
import XNoticeBar from "../../components/XNoticeBar.vue";
|
||||
@@ -27,7 +27,7 @@ const details = ref(null);
|
||||
const home = ref(false);
|
||||
const mainDetailWidth = ref(0);
|
||||
const currentTabs = ref(0);
|
||||
const tabs = reactive([
|
||||
const tabs = computed(() => [
|
||||
{
|
||||
name: "任务详情",
|
||||
component: TaskDetails,
|
||||
@@ -39,10 +39,12 @@ const tabs = reactive([
|
||||
{
|
||||
name: "我的回填",
|
||||
component: MyBackfill,
|
||||
isDot: details.value.children.is_back > 0,
|
||||
},
|
||||
{
|
||||
name: "审核沟通",
|
||||
component: ReviewCommunication,
|
||||
isDot: details.value.children.is_read > 0,
|
||||
},
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user