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