From a112799b4223e3dc16072959fa17e0fc54d996d8 Mon Sep 17 00:00:00 2001 From: ray_wuhao <443547225@qq.com> Date: Fri, 17 Feb 2023 16:45:26 +0800 Subject: [PATCH] fiex doc-local url --- src/components/RayChart/index.tsx | 14 ++++++++++++-- src/router/modules/doc-local.ts | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/components/RayChart/index.tsx b/src/components/RayChart/index.tsx index 11c53799..0515f6fe 100644 --- a/src/components/RayChart/index.tsx +++ b/src/components/RayChart/index.tsx @@ -81,12 +81,22 @@ const RayChart = defineComponent({ name: 'RayChart', props: { width: { - /* `chart` 容器宽度, 默认撑满 */ + /** + * + * chart 容器初始化宽度 + * + * 如果未能继承宽度, 则会以 200px 宽度填充 + */ type: String, default: '100%', }, height: { - /* `chart` 容器高度, 默认撑满 */ + /** + * + * chart 容器初始化高度 + * + * 如果未能继承高度, 则会以 200px 宽度填充 + */ type: String, default: '100%', }, diff --git a/src/router/modules/doc-local.ts b/src/router/modules/doc-local.ts index 8ee8f368..2086c46c 100644 --- a/src/router/modules/doc-local.ts +++ b/src/router/modules/doc-local.ts @@ -5,6 +5,6 @@ export default { meta: { i18nKey: 'DocLocal', icon: 'doc', - windowOpen: 'https://ray.yunkuangao.com/ray-template-doc/', + windowOpen: 'https://ray-template.yunkuangao.com/', }, }