会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
希望の曙光
博客园
首页
新随笔
联系
订阅
管理
2020年7月12日
vue源码--------初识
摘要: 1、准备知识 1、将伪数组转换为真数组 const lis2 = [].slice.call(lis) / array.prototype.slice.call(lis) //lis2为真数组 ES6:Array.from(lis) 2、node.nodetype type:document、ele
阅读全文
posted @ 2020-07-12 22:30 希望の曙光
阅读(116)
评论(0)
推荐(0)
2020年7月1日
router
摘要: 路由组件缓冲:keep-alive
阅读全文
posted @ 2020-07-01 20:04 希望の曙光
阅读(103)
评论(0)
推荐(0)
2020年5月28日
sql sever----02
摘要: 1、数据库是如何解决存储问题的
阅读全文
posted @ 2020-05-28 11:03 希望の曙光
阅读(115)
评论(0)
推荐(0)
2020年5月24日
vue----07
摘要: 1、vue中的css动画原理 <div id="root"> <transition name="fade"> <div v-if="show">hello world</div> </transition> <button @click="handleBtnClick">切换</button> <
阅读全文
posted @ 2020-05-24 10:00 希望の曙光
阅读(134)
评论(0)
推荐(0)
2020年5月22日
sql sever----01
摘要: 1、什么是数据库 狭义 :存储数据的仓库 广义 :可以对数据进行存储和管理的软件 以及数据本身 统称为数据库 数据库是有表,关系,操作组成 2、为什么需要数据库 (mdf 数据文件,LDF 日志文件) 几乎所有的应用软件的后台都需要数据库 占用空间小,容易持久保存 存储比较安全 容易维护和升级 数据
阅读全文
posted @ 2020-05-22 22:38 希望の曙光
阅读(115)
评论(0)
推荐(0)
vue----06
摘要: 1、给组件绑定原生事件 <counter @click.native="handkeClick""></counter> 使用组件时,在后面加native可以直接绑定原生事件,如果不加,则为自定义事件 2、非父子组件间的传值 一般有2种方式:1、vuex 2、发布订阅模式 / BUS / 总线 /
阅读全文
posted @ 2020-05-22 22:12 希望の曙光
阅读(156)
评论(0)
推荐(0)
vue----05
摘要: 1、组件参数效验 <div id="root"> <counter :content="{a:1}""></counter> </div> <script> var counter = { props: { content: { type:String, required:true ,//此处指该参
阅读全文
posted @ 2020-05-22 21:55 希望の曙光
阅读(97)
评论(0)
推荐(0)
2020年5月21日
vue----04
摘要: 1、父组件如何向子组件传递数据 <div id="root"> <counter :count="0"></counter> <counter :count="1"></counter> </div> <script> var counter = { props: ['count'], templa
阅读全文
posted @ 2020-05-21 15:22 希望の曙光
阅读(155)
评论(0)
推荐(0)
2020年5月19日
vue----03
摘要: 1、组件使用中的细节点 1.1 使用is解决某些情况下显示错误问题 <div id="root"> <table> <tbody> <tr is="row"></tr> <tr is="row"></tr> <tr is="row"></tr> </tbody> </table> </div> <s
阅读全文
posted @ 2020-05-19 19:20 希望の曙光
阅读(156)
评论(0)
推荐(0)
2020年5月18日
vue----02
摘要: 1、计算属性与监听器watch:{ firstname: function () { //当firstname 改变的时候要执行的函数 } } computed: { name: function() { //内容 } } 2、计算属性的getter和setter方法 computed: { ful
阅读全文
posted @ 2020-05-18 17:29 希望の曙光
阅读(147)
评论(0)
推荐(0)
下一页
公告