Merge branch 'main' of https://gitea.hmily.club/pdkj/store-manage-app
commit
02213b2d06
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue