Initial commit
This commit is contained in:
@@ -19,10 +19,10 @@
|
||||
<div class="w-full">
|
||||
<a-tooltip>
|
||||
<template #title>
|
||||
{{element?.description ?? element?.name}}
|
||||
{{ element?.description ?? element?.name }}
|
||||
</template>
|
||||
<p>
|
||||
{{ substring(element?.description ?? (element?.name ?? '-') ,40) }}
|
||||
{{ substring(element?.description ?? (element?.name ?? '-'), 40) }}
|
||||
</p>
|
||||
</a-tooltip>
|
||||
</div>
|
||||
@@ -47,7 +47,7 @@ import { elementProps } from './props';
|
||||
import type { ModelElement } from './element';
|
||||
import { DeleteOutlined, SettingOutlined } from '@ant-design/icons-vue';
|
||||
import type { Graph } from '@antv/x6';
|
||||
import {substring} from '@/utils/strings'
|
||||
import { substring } from '@/utils/strings';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ModelElement',
|
||||
@@ -133,7 +133,7 @@ export default defineComponent({
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
position: relative;
|
||||
|
||||
.ant-card-head {
|
||||
border: 0;
|
||||
@@ -184,6 +184,7 @@ export default defineComponent({
|
||||
background: url('@/assets/icons/m-02.png') center / 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.ks-designer-input-node {
|
||||
background: linear-gradient(150deg, #083058 1%, #1e5d9b 55%);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user