From b9e861d8f7ef40a3e621a419eb9a68d6aa9ebe1c Mon Sep 17 00:00:00 2001 From: vdpAdmin Date: Fri, 13 May 2022 14:59:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3Vue.Draggable=E5=9C=A8Vue?= =?UTF-8?q?=E6=96=B0=E7=89=883.2.32=E4=B8=8A=E8=BF=90=E8=A1=8C=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E2=80=9CCannot=20set=20properties=20of=20null=20(sett?= =?UTF-8?q?ing=20'=5F=5Fdraggable=5Fcontext')=E2=80=9D=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/vuedraggable/dist/vuedraggable.common.js | 51 +++++++++++-------- .../dist/vuedraggable.common.js.map | 2 +- lib/vuedraggable/dist/vuedraggable.umd.js | 51 +++++++++++-------- lib/vuedraggable/dist/vuedraggable.umd.js.map | 2 +- lib/vuedraggable/dist/vuedraggable.umd.min.js | 4 +- .../dist/vuedraggable.umd.min.js.map | 2 +- package.json | 2 +- .../form-designer/form-widget/index.vue | 18 ++++--- src/utils/code-generator.js | 4 +- 9 files changed, 78 insertions(+), 58 deletions(-) diff --git a/lib/vuedraggable/dist/vuedraggable.common.js b/lib/vuedraggable/dist/vuedraggable.common.js index e26d0b2..9dca79d 100644 --- a/lib/vuedraggable/dist/vuedraggable.common.js +++ b/lib/vuedraggable/dist/vuedraggable.common.js @@ -1774,7 +1774,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) { return document.currentScript } - + // IE 8-10 support script readyState // IE 11+ & Firefox support stack trace try { @@ -1792,24 +1792,24 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ inlineScriptSourceRegExp, inlineScriptSource, scripts = document.getElementsByTagName('script'); // Live NodeList collection - + if (scriptLocation === currentLocation) { pageSource = document.documentElement.outerHTML; inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*