Fixed #1511 - Tooltip: crash when empty\null
parent
13dd5820b3
commit
0e750fdb1c
|
@ -262,7 +262,9 @@ const Tooltip = {
|
|||
beforeMount(el, options) {
|
||||
let target = getTarget(el);
|
||||
target.$_ptooltipModifiers = getModifiers(options);
|
||||
if (typeof options.value === 'string') {
|
||||
|
||||
if (!options.value) return;
|
||||
else if (typeof options.value === 'string') {
|
||||
target.$_ptooltipValue = options.value;
|
||||
target.$_ptooltipDisabled = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue