当在Springboot项目中引入了spring-boot-starter-parent,则可以不用引入依赖包版本号,比如: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-pa ...
分类:
编程语言 时间:
2020-07-22 11:32:08
阅读次数:
117
子组件代码 // 子组件 validateForm() { return new Promise((resolve, reject) => { this.$refs.contractBaseRef.validate((valid) => { if (valid) { resolve(this.get ...
分类:
其他好文 时间:
2020-07-22 02:14:37
阅读次数:
128
在官网找到的就只有这个方法,但是我放在app项目里并不支持,所以就想到vue的阻止事件冒泡的方法,现在分享,免得大家踩坑 <view class="parent" @click="doSomeThing"><view class="child" @click.stop="doSmall"> 实例: ...
分类:
移动开发 时间:
2020-07-21 21:26:49
阅读次数:
161
[root@node3 docker]# docker pull gcr.io/google_containers/pause-amd64:3.1 Error response from daemon: Get https://gcr.io/v2/: x509: certificate has ex ...
分类:
其他好文 时间:
2020-07-21 09:49:14
阅读次数:
83
In this tutorial we will be looking at how Spring Security works and its architecture. We will be creating a Spring Boot Project to expose two REST AP ...
分类:
编程语言 时间:
2020-07-20 20:32:59
阅读次数:
72
$("#test1").parent(); // 父节点 $("#test1").parents(); // 全部父节点 $("#test1").parents(".mui-content");//返回class为mui-content的父节点 $("#test1").children(); // ...
分类:
Web程序 时间:
2020-07-20 13:17:42
阅读次数:
76
QT版本:win32 QT Creator5.9.9 在QT中只有横条状的进度条,目前需要使用圆形状进度条显示进度,只能自己设计一个,可以显示圆弧、圆圈和中心文本。 设计思路: ①设计一个QWidget部件类。 提供圆圈的半径属性,根据该属性把该部件初始化为一个长宽相等的正方形部件。 ②重载pain ...
分类:
其他好文 时间:
2020-07-20 10:54:06
阅读次数:
62
如上图,控制台出现类似: Error in nextTick: "InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': ', ' is not a valid attribute name." 错误,说明vue t ...
分类:
其他好文 时间:
2020-07-20 10:15:51
阅读次数:
103
https://leetcode-cn.com/problems/longest-increasing-subsequence/ 1、题目: 给定一个无序的整数数组,找到其中最长上升子序列的长度。 示例: 输入: [10,9,2,5,3,7,101,18]输出: 4 解释: 最长的上升子序列是 [2 ...
分类:
其他好文 时间:
2020-07-19 23:31:12
阅读次数:
70
给定一个含有数字和运算符的字符串,为表达式添加括号,改变其运算优先级以求出不同的结果。你需要给出所有可能的组合的结果。有效的运算符号包含 +, - 以及 * 。 示例 1: 输入: "2-1-1" 输出: [0, 2] 解释: ((2-1)-1) = 0 (2-(1-1)) = 2 示例 2: 输入 ...
分类:
其他好文 时间:
2020-07-19 16:31:26
阅读次数:
72