type: 修改编译错误的type类型

This commit is contained in:
MTrun
2022-02-28 11:00:33 +08:00
parent 9ed848e21f
commit 6dbe603fcd
6 changed files with 10 additions and 10 deletions
@@ -82,11 +82,11 @@
</template>
<script setup lang="ts">
import { reactive, ref } from 'vue'
import { reactive, ref, PropType } from 'vue'
import { renderIcon, renderLang, requireUrl, requireFallbackImg } from '@/utils'
import { icon } from '@/plugins'
import { MacOsControlBtn } from '@/components/MacOsControlBtn'
import { Chartype } from '../../index.d'
const {
EllipsisHorizontalCircleSharpIcon,
CopyIcon,
@@ -103,7 +103,7 @@ const t = window['$t']
const props = defineProps({
// todo 定义列表ITEN的 type
cardData: Object
cardData: Object as PropType<Chartype>
})
const fnBtnList = reactive([
{