|
|
@@ -75,7 +75,7 @@ const listModel = ref<ListItem[]>([
|
|
|
const safeHeight = ToolApi.getSafeHeight()
|
|
|
const searchValue = ref<string>('')
|
|
|
|
|
|
-const info = ref<CreateCarousalsRequest[] | null>([
|
|
|
+const info = ref<CreateCarousalsRequest[]>([
|
|
|
{
|
|
|
imageUrl: '',
|
|
|
targetId: '',
|
|
|
@@ -126,8 +126,7 @@ const findList = ref<{ name: string }[]>([
|
|
|
{ name: '猫咪尿闭怎么办' },
|
|
|
])
|
|
|
async function onLoad() {
|
|
|
- const getCarousalListApi = await carousalApi.getCarousalList()
|
|
|
- info.value = getCarousalListApi
|
|
|
+ info.value = await carousalApi.getCarousalList()
|
|
|
}
|
|
|
function handleJumpUrl(item: CreateCarousalsRequest) {
|
|
|
if (item.targetType === 'url') {
|