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

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { ref } from "vue";
const lists = ref<ForDataType<undefined>>([
const lists = ref([
{ type: "", label: "善良" },
{ type: "success", label: "好学" },
{ type: "info", label: "幽默" },

View File

@@ -5,7 +5,7 @@ import SeamlessScroll from "/@/components/ReSeamlessScroll";
const scroll = templateRef<ElRef | null>("scroll", null);
let listData = ref<ForDataType<undefined>>([
let listData = ref([
{
date: "2021-09-01",
name: "vue-pure-admin",