ihzero 2024-04-27 09:36:15 +08:00
commit 02213b2d06
1 changed files with 4 additions and 2 deletions

View File

@ -15,7 +15,7 @@
</view>
</view>
<view v-if="data && data.checkable" class="h-100rpx">
<view v-if="checkable" class="h-100rpx">
<view
class="fixed bottom-0 left-0 right-0 h-120rpx bg-white flex items-center px-base space-x-30rpx"
>
@ -61,6 +61,7 @@ const params = computed(() => datajson[type.value].params ?? {})
const id = ref(null)
const type = ref(null)
const data = ref(null)
const checkable = ref(false)
const modalRef = ref(null)
@ -121,7 +122,8 @@ const getData = async () => {
...params.value,
},
})
data.value = resData
data.value = resData.data
checkable.value = resData.checkable
console.log(resData)
}