You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/07/28 10:29:40 UTC

[echarts-handbook] branch master updated: fix example link

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git


The following commit(s) were added to refs/heads/master by this push:
     new fb31634  fix example link
fb31634 is described below

commit fb31634956ab268b6b8d1c4c8e6d76c34fa11164
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Jul 28 18:29:20 2021 +0800

    fix example link
---
 components/markdown/Example.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/markdown/Example.vue b/components/markdown/Example.vue
index 0225d87..a85ca98 100644
--- a/components/markdown/Example.vue
+++ b/components/markdown/Example.vue
@@ -24,7 +24,7 @@ export default defineComponent({
       return (
         config.exampleViewPath.replace(
           '${lang}',
-          ctx.root.$store.state.locale
+          (ctx.root as any).$i18n.locale
         ) + props.src
       )
     })

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org