![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vant
凉拌香菜卷
这个作者很懒,什么都没留下…
展开
-
vue在beforeRouteLeave中使用vant的弹窗,弹出就消失
beforeRouteLeave (to, from, next) { if (this.isBack) { next() } else { setTimeout(() => { this.$dialog.alert({ title: '当前数据还未保存,是否确认退出?', confirmButtonColor: '#1da4f2', // 确认按钮颜色 showCancelButt..转载 2022-02-18 16:41:28 · 769 阅读 · 2 评论 -
vue使用vant组件,van-pull-refresh和van-list分页加载及下拉刷新
<van-pull-refresh v-model="refreshing" @refresh="onRefresh"> <van-list v-model="loading" :finished="finished" :finished-text="list.length > 0 ? '已经到底了' : ''" @load="onLoad" > <div v-for='item in .原创 2022-02-11 17:18:03 · 3065 阅读 · 1 评论 -
【无标题】
在vue运行中报错Cannot read property ‘dirname’ of undefined因为使用rem屏幕自适应,所以在postscssrc.js中需要重新配置项/** * PostCSS 配置文件 */module.exports = { // 配置要使用的 PostCSS 插件 plugins: { // 配置使用 autoprefixer 插件 // 作用:生成浏览器 CSS 样式规则前缀 // VueCLI 内部已经配置了 autopref原创 2021-12-31 09:03:25 · 66 阅读 · 0 评论 -
vant的upload上传身份证样式更改(魔改van-uploader)
20260418原创 2021-05-25 16:33:03 · 5035 阅读 · 4 评论