fix: script path issue.

This commit is contained in:
lchen committed 2026-11-24 21:52:53 +08:00
1 parent 29a327ff02
commit ec086e29aa
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ import { requestAnimationFrame } from '../../ui';
* @version 1.0.7 * @version 1.0.7
*/ */
const ScriptPath = (self.document == null ? self.location.href : self.document.currentScript?.src ?? '').replace(/ui\.min\.js\?.+$/, ''); const ScriptPath = import.meta.url.replace(/\/[^?/]+(\?[a-f0-9]+)?$/, '/');
const Encoder = new TextEncoder('utf-8'); const Encoder = new TextEncoder('utf-8');
const ColumnChangedType = { const ColumnChangedType = {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@soft-qr/ui-lib", "name": "@soft-qr/ui-lib",
"version": "1.1.9", "version": "1.1.10",
"publishConfig": { "publishConfig": {
"registry": "https://git.soft.qr/api/packages/soft-qr/npm/" "registry": "https://git.soft.qr/api/packages/soft-qr/npm/"
}, },