概述 上一篇我们重点介绍了组件的创建、注册和使用,熟练这几个步骤将有助于深入组件的开发。另外,在子组件中定义props,可以让父组件的数据传递下来,这就好比子组件告诉父组件:“嘿,老哥,我开通了一个驿站,你把东西放到驿站我就可以拿到了。” 今天我们将着重介绍slot和父子组件之间的访问和通信,slo ...
分类:
Web程序 时间:
2020-01-29 12:31:06
阅读次数:
105
0. 1. Implement a singleton class class MySingleton{ public: static MySingleton* const p_single; private: MySingleton(void){cout << "private construct ...
分类:
编程语言 时间:
2020-01-28 09:35:12
阅读次数:
69
咳咳,这个是为了赶量 需要注意的就是输入方式,别的也没什么难点 Problem Description Ignatius likes to write words in reverse way. Given a single line of text which is written by Igna ...
分类:
其他好文 时间:
2020-01-27 15:40:56
阅读次数:
55
Lambda 大年初二,大门不出二门不迈。继续学习! 函数式接口 Lambda表达式其实就是实现SAM接口的语法糖,所谓SAM接口就是Single Abstract Method,即该接口中只有一个抽象方法需要实现,当然该接口可以包含其他非抽象方法。 它关注方法具备什么样的功能,强调做什么,而不是以 ...
分类:
编程语言 时间:
2020-01-26 14:33:02
阅读次数:
66
https://pintia.cn/problem-sets/12/problems/351 1 int search(int n) 2 { 3 int count = 0; 4 int num_sqrt; //平方根的整数部分 5 int single, ten, hundred; 6 for ( ...
分类:
其他好文 时间:
2020-01-25 20:48:27
阅读次数:
241
详细的安装手册可以参考官方文档,地址在 https://access.redhat.com/documentation/en-us/red_hat_quay/3/html-single/deploy_red_hat_quay_-_basic/index Quay包含了几个核心组件 数据库:主要存放镜 ...
分类:
其他好文 时间:
2020-01-25 19:34:40
阅读次数:
171
链接:E - Oil Deposits 题目: The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one larg ...
分类:
其他好文 时间:
2020-01-23 14:08:52
阅读次数:
82
Overview Sharing a single thread within the district: PC Register/JVM Stack/Native Method Stack.All thread shared area: Heap/Method Area/Runtime Const ...
分类:
其他好文 时间:
2020-01-22 21:32:39
阅读次数:
93
https://mingshan.fun/2018/09/18/fully-qualified-name-simple-name-descriptor/ 在看Class文件的结构时,我们会遇到这样几个概念,全限定名(Fully Qualified Name)、简单名称(Simple Name)和描述 ...
分类:
其他好文 时间:
2020-01-22 21:29:56
阅读次数:
240
Trying to structure the state logic of an application as a single machine can begin to become unwieldy when we have too many states. It is often bette ...
分类:
系统相关 时间:
2020-01-21 21:31:40
阅读次数:
89