12 2022 档案

摘要:1. 获取数组的最小元素 const getSmallest = (arr) => arr.reduce((smallest, num) => Math.min(smallest, num)); const arr = [13, 7, 11, 3, 9, 15, 17]; console.log(g 阅读全文
posted @ 2022-12-28 10:39 假装学习 阅读(71) 评论(0) 推荐(0) 编辑
摘要:创建 文件 global index.ts main.ts文件引入 import global from "@/global"; app.use(global) index.ts 内容 import { App } from "vue";export default (app: App) => { 阅读全文
posted @ 2022-12-06 16:31 假装学习 阅读(939) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示