frontend
蘑云阁
这个作者很懒,什么都没留下…
展开
-
Vue中禁止输入表情符号指令
vue中封装过滤表情的指令原创 2023-02-04 15:36:34 · 1065 阅读 · 0 评论 -
ant-design-vue Table设置scroll.x,当没有数据时表头显示不全,且没有滚动条
显示图二的效果需要更改.ant-table-placeholder样式.ant-table-placeholder { padding: 0; border-top: none;}原创 2021-03-03 16:31:16 · 3612 阅读 · 2 评论 -
antd table 自动调整高度实现滚动
<a-table :columns="columns" :data-source="data" :scroll="{ x: 1500, y: 300 }"> <a slot="action" slot-scope="text">action</a></a-table>其中这个y值可以是number或者是string,:scroll="{x:1500,y:'calc(100vh-460px)'}",这样可以根据屏幕的可是高...原创 2021-02-04 14:24:31 · 6102 阅读 · 1 评论 -
页面滚动条样式修改
全局的样式文件中添加重置滚动条样式代码:/* 滚动条整体样式 */::-webkit-scrollbar { width: 4px; height: 4px;}/* 滚动条里面小方块 */::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px;}样式图片:/*滚动条整体样式*/::-webkit-scrollbar { width: 10px; /*高宽分别对应横竖滚.原创 2020-06-21 15:19:47 · 1249 阅读 · 1 评论 -
git did not exit cleanly (exit code 128)
我这边是账号信息问题,账号或者密码输入错误导致,而且TortoiseGit不会检查账号信息是否正确。解决方法: 删除windows保留的账号凭据,TortoiseGit就弹出输入账号和密码的对话框。输入正确就不会出现该问题参考文章:https://www.cnblogs.com/yaohuimo/p/6910282.html...原创 2020-03-30 14:34:11 · 567 阅读 · 0 评论 -
vue报错:There are multiple modules with names that only differ in casing
项目报错信息:his can lead to unexpected behavior when compiling on a filesystem with other case-semantic.Use equal casing. Compare these module identifiers:* E:\project\biaozhunku\node_modules\vue-load...原创 2019-02-26 21:03:43 · 377 阅读 · 0 评论 -
vue style样式中@import和/deep/几点说明
这里写自定义目录标题importimport在main.js中import全局引入的css、less、scss等样式文件,全局覆盖,代码如下:import 'element-ui/lib/theme-chalk/index.css'import '@/styles/index.scss'如果对于引入的框架的样式想要做全局替换可以写在index.scss,例如 第一张图为elem...原创 2020-06-21 15:36:51 · 643 阅读 · 0 评论