- 博客(5)
- 收藏
- 关注
原创 vue3发送验证码用vant组件实现
第一步安装vantpnpm add vant第二步main.js引入//引入ui組件庫vantimport Vant from 'vant'//vant桌面適配import '@vant/touch-emulator';import 'vant/lib/index.css';app.use(Vant)第三部需要使用的页面 <div class="my-phone"> <van-dropdown-menu >
2022-05-30 12:09:27
653
原创 js文件下载(axios)
npm install js-file-downloadimport fileDownload from 'js-file-download' axios.get(`/operation/ruleImport/template`, { responseType: 'blob' //返回的数据类型 }) .then(res => { fileDownload(res.data, this.fileName)//this.fileName你需要的文.
2022-05-27 16:42:14
1075
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人