干掉脏检查
This commit is contained in:
parent
d63bbe5615
commit
f936eaa9f0
1692
lib/underscore.js
1692
lib/underscore.js
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,5 @@ function isValidUrl(url) {
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
isValidUrl,
|
isValidUrl,
|
||||||
...require('./underscore'),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -52,7 +52,7 @@ Component({
|
|||||||
},
|
},
|
||||||
|
|
||||||
isNeedRefresh(newVal, oldVal) {
|
isNeedRefresh(newVal, oldVal) {
|
||||||
if (!newVal || this.isEmpty(newVal) || util.isEqual(newVal, oldVal)) {
|
if (!newVal || this.isEmpty(newVal)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user