From d2b393b785140faa9de91c270ca4af1242d35487 Mon Sep 17 00:00:00 2001 From: Chen Kai Date: Mon, 11 Apr 2022 16:06:36 +0800 Subject: [PATCH] fix: vue version explicitly to 2.x (#21736) --- examples/components/demo-block.vue | 2 +- examples/docs/en-US/i18n.md | 4 ++-- examples/docs/es/i18n.md | 4 ++-- examples/docs/fr-FR/i18n.md | 4 ++-- examples/docs/zh-CN/i18n.md | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/components/demo-block.vue b/examples/components/demo-block.vue index 0a1d2f38a..3a2f5544a 100644 --- a/examples/components/demo-block.vue +++ b/examples/components/demo-block.vue @@ -205,7 +205,7 @@ goCodepen() { // since 2.6.2 use code rather than jsfiddle https://blog.codepen.io/documentation/api/prefill/ const { script, html, style } = this.codepen; - const resourcesTpl = '' + + const resourcesTpl = '' + '\n'; let jsTpl = (script || '').replace(/export default/, 'var Main =').trim(); let htmlTpl = `${resourcesTpl}\n
\n${html.trim()}\n
`; diff --git a/examples/docs/en-US/i18n.md b/examples/docs/en-US/i18n.md index 63c7dc216..3c939fc49 100644 --- a/examples/docs/en-US/i18n.md +++ b/examples/docs/en-US/i18n.md @@ -144,7 +144,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value)) ## Import via CDN ```html - + @@ -156,7 +156,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value)) Compatible with `vue-i18n` ```html - + diff --git a/examples/docs/es/i18n.md b/examples/docs/es/i18n.md index d1121d79a..6b2bace81 100644 --- a/examples/docs/es/i18n.md +++ b/examples/docs/es/i18n.md @@ -144,7 +144,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value)) ## Importar via CDN ```html - + @@ -156,7 +156,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value)) Compatible con `vue-i18n` ```html - + diff --git a/examples/docs/fr-FR/i18n.md b/examples/docs/fr-FR/i18n.md index 2a1d2ad95..2d60f0902 100644 --- a/examples/docs/fr-FR/i18n.md +++ b/examples/docs/fr-FR/i18n.md @@ -147,7 +147,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value)) ## Import via un CDN ```html - + @@ -159,7 +159,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value)) Compatible avec `vue-i18n` ```html - + diff --git a/examples/docs/zh-CN/i18n.md b/examples/docs/zh-CN/i18n.md index 3397e3b41..1addc876d 100644 --- a/examples/docs/zh-CN/i18n.md +++ b/examples/docs/zh-CN/i18n.md @@ -146,7 +146,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value)) ## 通过 CDN 的方式加载语言文件 ```html - + @@ -158,7 +158,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value)) 搭配 `vue-i18n` 使用 ```html - +