fix: 修复节点缩放文字模糊问题

This commit is contained in:
shaohuzhang1 2024-06-18 10:38:42 +08:00
parent b49a461f65
commit ab8844b0a1
2 changed files with 7 additions and 3 deletions

View File

@ -123,4 +123,7 @@ const props = defineProps<{
.outgoing-anchor {
stroke: #82b366;
}
:deep(.el-card) {
overflow: visible;
}
</style>

View File

@ -1,12 +1,13 @@
import Components from '@/components'
import ElementPlus from 'element-plus'
import * as ElementPlusIcons from '@element-plus/icons-vue'
import { HtmlNode, HtmlNodeModel, BaseEdge } from '@logicflow/core'
import { HtmlResize } from '@logicflow/extension'
import { createApp, h } from 'vue'
import directives from '@/directives'
import i18n from '@/locales'
class AppNode extends HtmlNode {
class AppNode extends HtmlResize.view {
isMounted
r
app
@ -61,7 +62,7 @@ class AppNode extends HtmlNode {
}
}
class AppNodeModel extends HtmlNodeModel {
class AppNodeModel extends HtmlResize.model {
getOutlineStyle() {
const style = super.getOutlineStyle()
style.stroke = 'none'