04 2023 档案

摘要:// 选择图片后的处理 handleSelect(file, fileList) { let image = new Image() image.src = file.url image.onload = () => { if (image.width > 900) { compressImage( 阅读全文
posted @ 2023-04-10 10:53 _只码农 阅读(543) 评论(0) 推荐(0)
摘要:import {useRoute, useRouter} from "vue-router"; import {computed, ref, watch, watchEffect,nextTick} from "vue"; const router = useRouter() const route 阅读全文
posted @ 2023-04-01 18:28 _只码农 阅读(288) 评论(0) 推荐(0)
摘要:首先安装需要的两个依赖 npm i @vueuse/core npm install element-plus --save 在main.js中引入css文件,自定义深色背景颜色 可以看ElementPlus官方网站 //引入elementUI import ElementPlus from 'el 阅读全文
posted @ 2023-04-01 17:52 _只码农 阅读(2417) 评论(0) 推荐(0)