From 021b002ecd951bae2267cc7b83ac8a6c14169fee Mon Sep 17 00:00:00 2001 From: Fritz Lin Date: Mon, 8 Aug 2022 21:15:56 +0800 Subject: [PATCH] [gcp] fix bug: At.vue insertHtml 'suffix' is not defined !! also other eslint warnings -- #137 bug regression commit: https://github.com/fritx/vue-at/commit/725d7a1470e9cc309ae2b7d04deddf8ccf9ceb05#diff-11090ff0a927c36112fd70be4c32aa3841151637c37309ea0f8c429f00c9ed61L335 --- src/At.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/At.vue b/src/At.vue index 7a8dc4d..4026fa0 100644 --- a/src/At.vue +++ b/src/At.vue @@ -435,7 +435,7 @@ export default { node.parentNode.insertBefore(newElement, secondPart); r.setEndBefore(secondPart) } else { - const t = document.createTextNode(suffix) + const t = document.createTextNode(this.suffix) r.insertNode(newElement) r.setEndAfter(newElement) r.insertNode(t)