会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
诗yu远方
博客园
首页
新随笔
联系
订阅
管理
2021年12月9日
vue antd气泡卡片 在循环中 点击只展示一个(循环展示了多个气泡卡片)
摘要: <a-table :columns="columns" :data-source="data"> <a slot="name" slot-scope="text,record">{{ text }}</a> <span slot="action" slot-scope="text, record,i
阅读全文
posted @ 2021-12-09 10:00 诗yu远方
阅读(548)
评论(0)
推荐(0)
2021年11月16日
vue 使用antd中的form表单是,提交页面刷新
摘要: 在提交时,要给事件加上 e.preventDefault(); 来阻止默认操作 这样就可以将提交页面刷新的问题解决了
阅读全文
posted @ 2021-11-16 16:25 诗yu远方
阅读(506)
评论(0)
推荐(0)
2021年10月20日
antd vue table组件实现分页效果
摘要: 1、<a-table></a-table>标签中添加属性 :pagination="pagination" 2、data中设置pagination pagination: { current: 1, pageSize: 10, showSizeChanger: true, total: this.t
阅读全文
posted @ 2021-10-20 14:20 诗yu远方
阅读(2115)
评论(0)
推荐(0)
多于文本用省略号...显示
摘要: 单行文本多余文字用省略号显示 .title { width: 300px; height: 40px; line-height: 40px; /**将多余字符用省略号显示 */ overflow: hidden; text-overflow: ellipsis; white-space: nowra
阅读全文
posted @ 2021-10-20 09:53 诗yu远方
阅读(87)
评论(0)
推荐(0)
2021年10月18日
vue 滚动条样式
摘要: /***滚动条样式**/ /*滚动条整体部分*/ ::-webkit-scrollbar { width: 10px; height: 10px; } /*滚动条的轨道*/ ::-webkit-scrollbar-track { background: #f9fafb; } /*滚动条里面的小方块,
阅读全文
posted @ 2021-10-18 11:24 诗yu远方
阅读(177)
评论(0)
推荐(0)
2021年10月15日
git 创建远程分支
摘要: 1、git branch -r 查看远程分支有哪些 2、git checkout -b + 分支名 创建分支 3、git push --set-upstream origin + 刚刚创建的分支名
阅读全文
posted @ 2021-10-15 13:53 诗yu远方
阅读(1969)
评论(0)
推荐(0)
公告