mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-30 00:00:05 +08:00
feat: 文字组件添加链接功能
This commit is contained in:
@@ -38,6 +38,7 @@ const props = defineProps({
|
||||
|
||||
const { w, h } = toRefs(props.chartConfig.attr)
|
||||
const {
|
||||
linkHead,
|
||||
link,
|
||||
dataset,
|
||||
fontColor,
|
||||
@@ -75,7 +76,7 @@ useChartDataFetch(props.chartConfig, useChartEditStore, (newData: string) => {
|
||||
|
||||
//打开链接
|
||||
const click = () => {
|
||||
window.open(link.value)
|
||||
window.open(linkHead.value+link.value)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user