Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引入svg标签linearGradient报错 #740

Closed
hqqxxf opened this issue Dec 28, 2022 · 0 comments
Closed

引入svg标签linearGradient报错 #740

hqqxxf opened this issue Dec 28, 2022 · 0 comments

Comments

@hqqxxf
Copy link

hqqxxf commented Dec 28, 2022

san版本:3.10.8
代码:

<template>
        <svg width="300" height="180">
            <defs>
                <linearGradient id="myGradient" gradientTransform="rotate(90)">
                    <stop offset="5%" stop-color="gold" />
                    <stop offset="95%" stop-color="red" />
                </linearGradient>
            </defs>
            <path d="
            M 18,3
            L 46,3
            L 46,40
            L 61,40
            L 32,68
            L 3,40
            L 18,40
            Z
            "></path>
        </svg>
</template>

报错信息如下:
b6f6f5e40c623af266b04868e644a1cd
报错位置:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant