mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
chore: 更新typeit依赖为最新,相关兼容处理
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import typeIt from "./src/index";
|
||||
import type { TypeItOptions } from "typeit";
|
||||
import type { Options as TypeItOptions } from "typeit";
|
||||
|
||||
const TypeIt = typeIt;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { El } from "typeit/dist/types";
|
||||
import TypeIt, { type TypeItOptions } from "typeit";
|
||||
import TypeIt, { type Options as TypeItOptions } from "typeit";
|
||||
import { ref, defineComponent, onMounted, type PropType } from "vue";
|
||||
|
||||
// 打字机效果组件(配置项详情请查阅 https://www.typeitjs.com/docs/vanilla/usage#options)
|
||||
|
||||
Reference in New Issue
Block a user