lint
This commit is contained in:
parent
cd308e20d8
commit
0f7ed1141d
2 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@
|
|||
default: false
|
||||
},
|
||||
placement: {
|
||||
validator (value) {
|
||||
validator (value) {
|
||||
return oneOf(value, ['top', 'bottom', 'top-start', 'bottom-start', 'top-end', 'bottom-end']);
|
||||
},
|
||||
default: 'bottom'
|
||||
|
|
|
@ -58,9 +58,9 @@
|
|||
},
|
||||
methods: {
|
||||
isIcon(node){
|
||||
let nodeName = (node.nodeName || "").toLocaleUpperCase();
|
||||
let isIvu = node.classList.contains("ivu-icon");
|
||||
if(nodeName == "I" && isIvu){
|
||||
let nodeName = (node.nodeName || '').toLocaleUpperCase();
|
||||
let isIvu = node.classList.contains('ivu-icon');
|
||||
if(nodeName == 'I' && isIvu){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue