• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
WTF - 8
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 下一页

2021年9月3日

git pull 发生冲突时 解决的一种方式
摘要: 个人认知 当你拉取下来的和你本地的代码 存在一个你和协作开发者共同更改过的地方 就会发生冲突 此时 git stash save ‘自定义名字’ git pull 就可将其他人开发的拉取下来; 然后用 git stash pop 此时本地代码的状态 会处于未进入 暂存区的状态 阅读全文
posted @ 2021-09-03 10:32 noob_dong 阅读(46) 评论(0) 推荐(0)
 
 

2021年8月22日

实现v-for遍历出来的 元素的 单选 和 多选
摘要: <template> <div class="home"> <div class="box"> <ul> <li :class="{active: (isActive && currentIndex == index) || (MultiSelect && selectList.indexOf(li 阅读全文
posted @ 2021-08-22 18:27 noob_dong 阅读(437) 评论(0) 推荐(0)
 
 

2021年7月16日

文字设置渐变色
摘要: 传送门在这 阅读全文
posted @ 2021-07-16 17:00 noob_dong 阅读(29) 评论(0) 推荐(0)
 
 

2021年7月13日

如何点击除自身以外的元素 添加事件
摘要: document.addEventListener('click',this.handleDocumentClick) // handleDocumentClick 即将dialog 隐藏的方法 //下面这一行 是给点击显示dialog的按钮的事件 同时也是给 dialog的事件 shabi(){ 阅读全文
posted @ 2021-07-13 16:30 noob_dong 阅读(111) 评论(0) 推荐(0)
 
 

2021年6月27日

ant-design-vue 中table简单用法
摘要: <a-table bordered :columns="columns" :data-source="data" :pagination="pagination"> <template #action = {record,index}> .......//record 就表示表格里面某一行的的所有数 阅读全文
posted @ 2021-06-27 14:14 noob_dong 阅读(1187) 评论(0) 推荐(0)
 
 

2021年6月21日

vue3中如何像vue2中注册全局插件
摘要: 转自https://blog.csdn.net/qq_39115469/article/details/113795097 const app = createApp(App); app.config.globalProperties.$axios = axios; 之后在引入的地方 import 阅读全文
posted @ 2021-06-21 10:52 noob_dong 阅读(333) 评论(0) 推荐(0)
 
 

2021年6月11日

v-model绑定动态字段
摘要: 这边子组件使用多次 如何将这些值搞到一起 不能让我一个个写变量吧; <el-form v-for="(item,index) in formList" :key="index"> <el-form-item :label="'玩家'+(index+1) +':'" > <el-input v-mod 阅读全文
posted @ 2021-06-11 10:36 noob_dong 阅读(1558) 评论(0) 推荐(0)
 
如何将数组内的相同的元素进行分组
摘要: <script> let arr = [1,2,3,3,2,4,3,2]; let emptyObj = {}; let otherObj = {}; arr.forEach(item=>{ emptyObj[item] = item; //这样也可以数组去重 }) console.log(empt 阅读全文
posted @ 2021-06-11 10:33 noob_dong 阅读(692) 评论(0) 推荐(0)
 
 

2021年5月16日

数组中引用类型的去重
摘要: var arr = [{ 2 key: '01', 3 value: '乐乐' 4 }, { 5 key: '02', 6 value: '博博' 7 }, { 8 key: '03', 9 value: '淘淘' 10 },{ 11 key: '04', 12 value: '哈哈' 13 },{ 阅读全文
posted @ 2021-05-16 12:43 noob_dong 阅读(148) 评论(0) 推荐(0)
 
 

2021年5月5日

关于element 上传文件el-upload
摘要: el-upload 上传文件 默认 就为 Content-Type: multipart/form-data; boundary WebKitFormBoundarywqIudbC9xP59QqKa 后面的boundary 不知道是什么鬼;由于el-upload 提供了 header 我就以为需要在 阅读全文
posted @ 2021-05-05 10:42 noob_dong 阅读(939) 评论(0) 推荐(0)
 
 
上一页 1 2 3 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3