摘要:
const props = defineProps({ id: { type:Number, // 参数类型 default: 1, //默认值 } }) 阅读全文
摘要:
安装 npm install echarts --save main.ts import { createApp } from 'vue' import './style.css' import * as echarts from 'echarts' import App from './App.v 阅读全文
摘要:
原本写法是和vue2一样 <script lang="ts" setup> import { Document, Menu as IconMenu, Location, Setting, } from '@element-plus/icons-vue' const asideList: Array< 阅读全文