types: fix some types

This commit is contained in:
xiaoxian521
2021-10-13 21:44:49 +08:00
parent 80328d2e20
commit b87183cb75
10 changed files with 22 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ let lists = ref<Array<Object>>([
{ people: "cn", id: 4, name: "www.google.com" }
]);
let cutLists = ref<Array<Object>>([
let cutLists = ref([
{ people: "cn", id: 1, name: "cut1" },
{ people: "cn", id: 2, name: "cut2" },
{ people: "cn", id: 3, name: "cut3" },

View File

@@ -6,7 +6,7 @@ import SeamlessScroll from "/@/components/ReSeamlessScroll";
// eslint-disable-next-line no-undef
const scroll = templateRef<ElRef | null>("scroll", null);
let listData = ref<ForDataType<undefined>>([
let listData = ref([
{
title: "无缝滚动第一行无缝滚动第一行!!!!!!!!!!"
},

View File

@@ -3,7 +3,7 @@ import { ref } from "vue";
import Selector from "/@/components/ReSelector";
let selectRange = ref<string>("");
let dataLists = ref<ForDataType<undefined>>([
let dataLists = ref([
{
title: "基本使用",
echo: [],