diff --git a/docs/package.json b/docs/package.json index a5226b31..f5bb3040 100644 --- a/docs/package.json +++ b/docs/package.json @@ -16,6 +16,7 @@ "highlight.js": "^11.2.0", "lodash": "^4.17.21", "lodash-es": "^4.17.21", + "serialize-javascript": "^6.0.0", "vue": "^3.2.0" }, "devDependencies": { diff --git a/docs/src/.vuepress/client.ts b/docs/src/.vuepress/client.ts index d4761aff..0cf72c1e 100644 --- a/docs/src/.vuepress/client.ts +++ b/docs/src/.vuepress/client.ts @@ -1,6 +1,7 @@ import 'element-plus/dist/index.css'; import 'highlight.js/styles/github.css'; +import './polyfills'; import { defineClientConfig } from '@vuepress/client'; import ElementPlus from 'element-plus'; import MagicForm from '@tmagic/form'; diff --git a/docs/src/.vuepress/demo-block.vue b/docs/src/.vuepress/demo-block.vue index e574dab5..368d2dc2 100644 --- a/docs/src/.vuepress/demo-block.vue +++ b/docs/src/.vuepress/demo-block.vue @@ -196,8 +196,9 @@ } -