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
|
default: false
|
||||||
},
|
},
|
||||||
placement: {
|
placement: {
|
||||||
validator (value) {
|
validator (value) {
|
||||||
return oneOf(value, ['top', 'bottom', 'top-start', 'bottom-start', 'top-end', 'bottom-end']);
|
return oneOf(value, ['top', 'bottom', 'top-start', 'bottom-start', 'top-end', 'bottom-end']);
|
||||||
},
|
},
|
||||||
default: 'bottom'
|
default: 'bottom'
|
||||||
|
|
|
@ -58,9 +58,9 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
isIcon(node){
|
isIcon(node){
|
||||||
let nodeName = (node.nodeName || "").toLocaleUpperCase();
|
let nodeName = (node.nodeName || '').toLocaleUpperCase();
|
||||||
let isIvu = node.classList.contains("ivu-icon");
|
let isIvu = node.classList.contains('ivu-icon');
|
||||||
if(nodeName == "I" && isIvu){
|
if(nodeName == 'I' && isIvu){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue