-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71d1a31
commit 8b015de
Showing
4 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/dist/runtime/utils/wc.js b/dist/runtime/utils/wc.js | ||
index 91b8b2e7e40cda93e3c75450128a71cd4e783009..5a53beef4aca42a43530f858104ca20ab0a2105d 100644 | ||
--- a/dist/runtime/utils/wc.js | ||
+++ b/dist/runtime/utils/wc.js | ||
@@ -1,6 +1,6 @@ | ||
let registered = null; | ||
export const TAG_NAME = "x-vue-echarts"; | ||
-if (import.meta.server) { | ||
+if (import.meta.server && global) { | ||
global.HTMLElement = Object; | ||
} | ||
export class EChartsElement extends HTMLElement { |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.