Refactor
This commit is contained in:
@@ -23,13 +23,13 @@ export default {
|
||||
}
|
||||
};
|
||||
|
||||
const show = async e => {
|
||||
const show = e => {
|
||||
if (!document.body.contains(el)) return;
|
||||
if (self._close) return;
|
||||
if (self.text == null) return;
|
||||
|
||||
const showing = ref(true);
|
||||
popup(await import('@/components/ui/tooltip.vue'), {
|
||||
popup(import('@/components/ui/tooltip.vue'), {
|
||||
showing,
|
||||
text: self.text,
|
||||
source: el
|
||||
|
Reference in New Issue
Block a user