fix(edges): dont inherit attrs on smoothstep/stepedges
This commit is contained in:
@@ -42,6 +42,7 @@ const path = computed(() => {
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export default {
|
export default {
|
||||||
name: 'SmoothStepEdge',
|
name: 'SmoothStepEdge',
|
||||||
|
inheritAttrs: false,
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ const props = withDefaults(defineProps<EdgeProps>(), {
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export default {
|
export default {
|
||||||
name: 'StepEdge',
|
name: 'StepEdge',
|
||||||
|
inheritAttrs: false,
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ export default defineConfig({
|
|||||||
vue(),
|
vue(),
|
||||||
vueTypes(),
|
vueTypes(),
|
||||||
svgLoader(),
|
svgLoader(),
|
||||||
// https://github.com/antfu/unplugin-auto-import
|
|
||||||
AutoImport({
|
AutoImport({
|
||||||
imports: ['vue', '@vueuse/core'],
|
imports: ['vue', '@vueuse/core'],
|
||||||
dts: 'src/auto-imports.d.ts',
|
dts: 'src/auto-imports.d.ts',
|
||||||
|
|||||||
Reference in New Issue
Block a user