We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
在 echarts-doc 中使用 etpl 进行编译。其中使用了诸多 use(doc 的各种公用部分用 etpl 的 target 来写,用 use 引用)。
use
target
因为 echarts-doc 中大多地方都需要使用 ${galleryViewPath} 这个变量(来指定外部链接路径),从而 ${galleryViewPath} 这个变量要在每次使用 use 时主动传入,例如:
${galleryViewPath}
{{use: partial-treemap-level-props( prefix="#", galleryViewPath=${galleryViewPath} )}}
(源于这里)
一层层的传递很容易忘写。忘写时编译也不会出错,从而不被发现。
所以是否能支持直接设置 ${galleryViewPath} 为全局变量?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在 echarts-doc 中使用 etpl 进行编译。其中使用了诸多
use
(doc 的各种公用部分用 etpl 的target
来写,用use
引用)。因为 echarts-doc 中大多地方都需要使用
${galleryViewPath}
这个变量(来指定外部链接路径),从而${galleryViewPath}
这个变量要在每次使用use
时主动传入,例如:(源于这里)
一层层的传递很容易忘写。忘写时编译也不会出错,从而不被发现。
所以是否能支持直接设置
${galleryViewPath}
为全局变量?The text was updated successfully, but these errors were encountered: