摘要:
问:如何将1输出: function(){console.log(1)}() 答: (function(){console.log(1)}()) 1,function(){console.log(1)}() +function(){console.log(1)}() function(){conso 阅读全文
posted @ 2018-12-08 15:53
健伟博客
阅读(168)
评论(0)
推荐(0)
摘要:
父子通信 父传子 vue: 父组件: //子组件的msg属性上加数据,datamsg是数据 子组件:export default { props:["datamsg"] //子组件得到的数据,保存在props中 } html: {{msg}} //在组件的html页面进行渲染 将父组件中的数据以属性 阅读全文
posted @ 2018-12-08 15:30
健伟博客
阅读(471)
评论(1)
推荐(1)
摘要:
基本语法 样式处理: vue: react: angular: 都可以写成字符串、数组、对象格式,angular还可以写成正则格式。 angular的表单指令:ngFrom 代码片段 Submit </form 阅读全文
posted @ 2018-12-08 14:01
健伟博客
阅读(237)
评论(0)
推荐(0)


浙公网安备 33010602011771号