This commit is contained in:
qianguyihao
2018-07-01 09:48:21 +08:00
parent 7e0e20aacc
commit d41890c8d0
3 changed files with 61 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ v-on:keyup="querysku = querysku.replace(/\D/,'')"
"1492948848": {
"3": "1",
"spec": "",
"imagePath": "jfs/t3076/90/7623078170/152165/9fe8c39d/58b94105N8ed8d2c0.jpg",
"imagePath": "hehe.jpg",
"color": "橘色 ",
"name": "【多色可选】丽装铺园纯色百搭简约打底T恤女 橘色 M",
"size": "M"
@@ -117,7 +117,7 @@ v-on:keyup="querysku = querysku.replace(/\D/,'')"
"1492948847": {
"3": "1",
"spec": "",
"imagePath": "jfs/t3109/27/9469817576/176241/aa424d04/58d4c849Ne22114ed.jpg",
"imagePath": "lala.jpg",
"color": "灰色 ",
"name": "【多色可选】丽装铺园纯色百搭简约打底T恤女 灰色 S",
"size": "S "
@@ -237,6 +237,29 @@ git cherry-pick myLog
### 2018-06-27
没想到,`''``' '`竟然还有区别。
### 2018-06-30
**并列条件**
来看下面这段代码:
```javascript
var num = 80;
console.log(50 < num <= 70);
```
上面的代码,你认为打印的结果是什么?其他,它打印的结果是 true。
如果我们要实现并列条件,千万不要使用 `if(50 < num < 70)`,而是要使用`if(num > 50 && num <=70)`