会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小蘑菇123
我可以蹲下来,陪你做一只蘑菇。 我愿意分担你的不快乐, 只是当你的世界下雨时单纯的为你撑起一把伞。 请你不要封闭自己的心,一个人承受那么多。 无论何时,请记住, 你知道的, 只要你睁开眼,你从来都不是一个人。 至少还有我… 我一直在守候!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
20
下一页
2021年6月25日
css 图片不定大小不压缩、不变形的对齐
摘要: css: width: 270px; height: 270px; object-fit: cover; flex: 1;
阅读全文
posted @ 2021-06-25 11:05 小蘑菇123
阅读(333)
评论(0)
推荐(0)
2021年6月15日
vue3.0 + svg 图标
摘要: 1、安装svg: npm install svg-sprite-loader --save-dev 2、在 components 中,创建 SvgIcon,引入 svg 样式: index.vue: <template> <svg :class="svgClass" aria-hidden="tru
阅读全文
posted @ 2021-06-15 15:30 小蘑菇123
阅读(593)
评论(0)
推荐(0)
vue eslint(indent) 空格缩进报错
摘要: 报错如下: 解决办法: 根目录新建 .eslintignore 文件: *.vue *.js
阅读全文
posted @ 2021-06-15 11:09 小蘑菇123
阅读(1095)
评论(0)
推荐(0)
vue3.0 + fontAwesome 图标
摘要: 1、安装 vue-fontawesome: npm i --save @fortawesome/vue-fontawesome@prerelease npm i --save @fortawesome/fontawesome-svg-core npm i --save @fortawesome/fr
阅读全文
posted @ 2021-06-15 10:07 小蘑菇123
阅读(1143)
评论(0)
推荐(0)
2021年5月31日
vue3.0 + ts + element-plus + i18n 中英文切换
摘要: 1、安装i18n: npm install vue-i18n@next 2、main.ts 引入: import { createApp } from 'vue'; import App from './App.vue'; import router from './router'; import
阅读全文
posted @ 2021-05-31 12:20 小蘑菇123
阅读(5582)
评论(0)
推荐(0)
2021年5月26日
vue3.0 的 MessageBox 弹框
摘要: 1、script lang="ts" 引入: import { ElMessage, ElMessageBox } from 'element-plus'; 2、setup 点击事件绑定: function handleDelete(row: any) { // console.log(row.id
阅读全文
posted @ 2021-05-26 13:52 小蘑菇123
阅读(5805)
评论(0)
推荐(0)
vue3.0 reactive([]) forEach循环无效的问题
摘要: 1、setup 中,定义数组: const tableDataList = reactive([]); forEach 循环报错, 2、解决办法: const tableDataList = reactive([]); 修改为:const tableDataList = reactive({list
阅读全文
posted @ 2021-05-26 09:58 小蘑菇123
阅读(5111)
评论(0)
推荐(1)
2021年5月14日
vue3.0 404路由跳转报错
摘要: 错误信息如下: 引入404页面: import NotFound from '@/views/404'; 引用路由(重定向): { path: '/404', name: '404', component: NotFound }, { path: '/:pathMatch(.*)', redirec
阅读全文
posted @ 2021-05-14 15:01 小蘑菇123
阅读(1051)
评论(1)
推荐(1)
2021年5月7日
vue 视频播放
摘要: 1、视频查看按钮: <div class="video_btn" @click="showVideo"> <img style="display: inline-block;vertical-align: middle;width: 18px;" src="../../assets/software
阅读全文
posted @ 2021-05-07 11:25 小蘑菇123
阅读(253)
评论(2)
推荐(0)
2021年4月27日
base64去掉前缀的正则校验
摘要: .replace(/^data:image\/\w+;base64,/, "") 适用于:.jpg,.jpeg,.png,.JPG,.JPEG
阅读全文
posted @ 2021-04-27 16:22 小蘑菇123
阅读(1983)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
20
下一页
公告