Skip to content

Commit b89b950

Browse files
feat: move to
1 parent 219ea75 commit b89b950

File tree

14 files changed

+297
-211
lines changed

14 files changed

+297
-211
lines changed

ui/src/components/app-icon/icons/document.ts

Lines changed: 2 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -53,27 +53,7 @@ export default {
5353
])
5454
},
5555
},
56-
'app-close': {
57-
iconReader: () => {
58-
return h('i', [
59-
h(
60-
'svg',
61-
{
62-
style: { height: '100%', width: '100%' },
63-
viewBox: '0 0 16 16',
64-
version: '1.1',
65-
xmlns: 'http://www.w3.org/2000/svg',
66-
},
67-
[
68-
h('path', {
69-
d: 'M7.96141 6.98572L12.4398 2.50738C12.5699 2.3772 12.781 2.3772 12.9112 2.50738L13.3826 2.97878C13.5127 3.10895 13.5127 3.32001 13.3826 3.45018L8.90422 7.92853L13.3826 12.4069C13.5127 12.537 13.5127 12.7481 13.3826 12.8783L12.9112 13.3497C12.781 13.4799 12.5699 13.4799 12.4398 13.3497L7.96141 8.87134L3.48307 13.3497C3.35289 13.4799 3.14184 13.4799 3.01166 13.3497L2.54026 12.8783C2.41008 12.7481 2.41008 12.537 2.54026 12.4069L7.0186 7.92853L2.54026 3.45018C2.41008 3.32001 2.41008 3.10895 2.54026 2.97878L3.01166 2.50738C3.14184 2.3772 3.35289 2.3772 3.48307 2.50738L7.96141 6.98572Z',
70-
fill: 'currentColor',
71-
}),
72-
],
73-
),
74-
])
75-
},
76-
},
56+
7757
'app-document-refresh': {
7858
iconReader: () => {
7959
return h('i', [
@@ -95,46 +75,5 @@ export default {
9575
])
9676
},
9777
},
98-
'app-migrate': {
99-
iconReader: () => {
100-
return h('i', [
101-
h(
102-
'svg',
103-
{
104-
style: { height: '100%', width: '100%' },
105-
viewBox: '0 0 1024 1024',
106-
version: '1.1',
107-
xmlns: 'http://www.w3.org/2000/svg'
108-
},
109-
[
110-
h('path', {
111-
d: 'M896.128 113.792a42.666667 42.666667 0 0 1 42.24 36.864l0.426667 5.802667v711.509333a42.666667 42.666667 0 0 1-36.906667 42.24l-5.76 0.426667h-263.082667a21.333333 21.333333 0 0 1-20.906666-17.066667l-0.426667-4.266667v-42.666666a21.333333 21.333333 0 0 1 17.066667-20.906667l4.266666-0.426667h220.416V199.125333H281.941333l0.042667 192.170667a21.333333 21.333333 0 0 1-21.333333 21.333333h-42.666667a21.333333 21.333333 0 0 1-21.333333-21.333333V135.125333a21.333333 21.333333 0 0 1 17.066666-20.906666l4.266667-0.426667h678.144zM424.96 485.973333c6.272 0 12.373333 2.218667 17.152 6.272l178.858667 151.338667a26.538667 26.538667 0 0 1 0 40.533333l-178.858667 151.381334a26.538667 26.538667 0 0 1-43.690667-20.266667v-103.765333H135.168a21.333333 21.333333 0 0 1-21.333333-21.333334v-42.666666a21.333333 21.333333 0 0 1 21.333333-21.333334H398.506667l-0.042667-113.621333c0-14.677333 11.904-26.538667 26.538667-26.538667z',
112-
fill: 'currentColor'
113-
})
114-
]
115-
)
116-
])
117-
}
118-
},
119-
'app-export': {
120-
iconReader: () => {
121-
return h('i', [
122-
h(
123-
'svg',
124-
{
125-
style: { height: '100%', width: '100%' },
126-
viewBox: '0 0 1024 1024',
127-
version: '1.1',
128-
xmlns: 'http://www.w3.org/2000/svg'
129-
},
130-
[
131-
h('path', {
132-
d: 'M791.04 554.24l-386.432-1.728a21.248 21.248 0 0 1-21.12-21.248L383.36 490.88c-0.064-11.776 9.408-21.376 21.12-21.44h0.192l394.112 1.728-97.664-98.112a21.44 21.44 0 0 1 0-30.208l30.08-30.144a21.12 21.12 0 0 1 29.952 0l165.12 165.952a42.88 42.88 0 0 1 0 60.288l-165.12 165.952a21.12 21.12 0 0 1-30.016 0l-30.016-30.144a21.44 21.44 0 0 1 0-30.208L791.04 554.24z m-132.672-383.552H170.24v682.624h488.128c11.712 0 21.184 9.6 21.184 21.376v42.624a21.248 21.248 0 0 1-21.248 21.376h-530.56A42.56 42.56 0 0 1 85.376 896V128c0-23.552 19.008-42.688 42.496-42.688h530.56c11.712 0 21.184 9.6 21.184 21.376v42.624a21.248 21.248 0 0 1-21.248 21.376z',
133-
fill: 'currentColor'
134-
})
135-
]
136-
)
137-
])
138-
}
139-
},
78+
14079
}

ui/src/components/app-icon/icons/knowledge.ts

Lines changed: 0 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -22,127 +22,6 @@ export default {
2222
},
2323
},
2424

25-
'app-filter_outlined': {
26-
iconReader: () => {
27-
return h('i', [
28-
h(
29-
'svg',
30-
{
31-
style: { height: '100%', width: '100%' },
32-
viewBox: '0 0 16 16',
33-
version: '1.1',
34-
xmlns: 'http://www.w3.org/2000/svg',
35-
},
36-
[
37-
h('path', {
38-
d: 'M10.6666 7.62086V14.3335C10.6666 14.5176 10.5174 14.6668 10.3333 14.6668H9.66665C9.48255 14.6668 9.33331 14.5176 9.33331 14.3335V7.3335C9.33331 7.23552 9.35445 7.14249 9.3924 7.0587C9.44305 6.93295 9.53373 6.8222 9.65896 6.74744L13.3333 4.55411V2.66683H2.66665V4.57737L6.23001 6.70758C6.48485 6.80127 6.66665 7.04615 6.66665 7.3335V12.0002C6.66665 12.1843 6.51741 12.3335 6.33331 12.3335H5.66665C5.48255 12.3335 5.33331 12.1843 5.33331 12.0002V7.64361L1.64919 5.44121C1.5665 5.39178 1.49892 5.32662 1.44803 5.2518C1.37775 5.19069 1.33331 5.10062 1.33331 5.00016V2.00016C1.33331 1.63197 1.63179 1.3335 1.99998 1.3335H14C14.1841 1.3335 14.3507 1.40812 14.4714 1.52876C14.592 1.6494 14.6666 1.81607 14.6666 2.00016V4.79556C14.6718 4.84238 14.6717 4.88936 14.6666 4.93565V5.00016C14.6666 5.11244 14.6111 5.21175 14.5261 5.27215C14.48 5.32873 14.4234 5.37834 14.3572 5.41788L10.6666 7.62086Z',
39-
fill: 'currentColor',
40-
}),
41-
],
42-
),
43-
])
44-
},
45-
},
46-
'app-succeed': {
47-
iconReader: () => {
48-
return h('i', [
49-
h(
50-
'svg',
51-
{
52-
style: { height: '100%', width: '100%' },
53-
viewBox: '0 0 16 16',
54-
version: '1.1',
55-
xmlns: 'http://www.w3.org/2000/svg',
56-
},
57-
[
58-
h('path', {
59-
d: 'M0.666687 8.00032C0.666687 12.0503 3.95002 15.3337 8.00002 15.3337C12.05 15.3337 15.3334 12.0503 15.3334 8.00032C15.3334 3.95033 12.05 0.666992 8.00002 0.666992C3.95002 0.666992 0.666687 3.95033 0.666687 8.00032ZM10.7624 5.98468C10.8249 5.92219 10.9096 5.88708 10.998 5.88708C11.0864 5.88708 11.1712 5.92219 11.2337 5.98468L11.705 6.45635C11.7675 6.51886 11.8026 6.60362 11.8026 6.69201C11.8026 6.7804 11.7675 6.86517 11.705 6.92768L7.46236 11.1703C7.39985 11.2328 7.31508 11.2679 7.22669 11.2679C7.1383 11.2679 7.05353 11.2328 6.99103 11.1703L4.55103 8.73001C4.48854 8.6675 4.45343 8.58273 4.45343 8.49434C4.45343 8.40596 4.48854 8.32119 4.55103 8.25868L5.02203 7.78701C5.08453 7.72452 5.1693 7.68942 5.25769 7.68942C5.34608 7.68942 5.43085 7.72452 5.49336 7.78701L7.22669 9.52034L10.7624 5.98468Z',
60-
fill: '#34C724',
61-
}),
62-
],
63-
),
64-
])
65-
},
66-
},
67-
68-
'app-close_colorful': {
69-
iconReader: () => {
70-
return h('i', [
71-
h(
72-
'svg',
73-
{
74-
style: { height: '100%', width: '100%' },
75-
viewBox: '0 0 16 16',
76-
version: '1.1',
77-
xmlns: 'http://www.w3.org/2000/svg',
78-
},
79-
[
80-
h('path', {
81-
d: 'M8.00002 15.3337C3.95002 15.3337 0.666687 12.0503 0.666687 8.00032C0.666687 3.95032 3.95002 0.666992 8.00002 0.666992C12.05 0.666992 15.3334 3.95032 15.3334 8.00032C15.3334 12.0503 12.05 15.3337 8.00002 15.3337Z',
82-
fill: '#8F959E',
83-
}),
84-
h('path', {
85-
d: 'M6.01682 5.07416L8.00016 7.05749L9.98349 5.07416C10.046 5.01167 10.1308 4.97656 10.2192 4.97656C10.3075 4.97656 10.3923 5.01167 10.4548 5.07416L10.9262 5.54549C10.9886 5.608 11.0238 5.69277 11.0238 5.78116C11.0238 5.86955 10.9886 5.95432 10.9262 6.01682L8.94283 8.00016L10.9262 9.98349C10.9886 10.046 11.0238 10.1308 11.0238 10.2192C11.0238 10.3075 10.9886 10.3923 10.9262 10.4548L10.4548 10.9262C10.3923 10.9886 10.3075 11.0238 10.2192 11.0238C10.1308 11.0238 10.046 10.9886 9.98349 10.9262L8.00016 8.94282L6.01682 10.9262C5.95432 10.9886 5.86955 11.0238 5.78116 11.0238C5.69277 11.0238 5.608 10.9886 5.54549 10.9262L5.07416 10.4548C5.01167 10.3923 4.97656 10.3075 4.97656 10.2192C4.97656 10.1308 5.01167 10.046 5.07416 9.98349L7.05749 8.00016L5.07416 6.01682C5.01167 5.95432 4.97656 5.86955 4.97656 5.78116C4.97656 5.69277 5.01167 5.608 5.07416 5.54549L5.54549 5.07416C5.608 5.01167 5.69277 4.97656 5.78116 4.97656C5.86955 4.97656 5.95432 5.01167 6.01682 5.07416Z',
86-
fill: 'white',
87-
}),
88-
],
89-
),
90-
])
91-
},
92-
},
93-
'app-blue_lock': {
94-
iconReader: () => {
95-
return h('i', [
96-
h(
97-
'svg',
98-
{
99-
style: { height: '100%', width: '100%' },
100-
viewBox: '0 0 16 16',
101-
version: '1.1',
102-
xmlns: 'http://www.w3.org/2000/svg',
103-
},
104-
[
105-
h('path', {
106-
d: 'M4.33337 5.33382V5.0005C4.33337 2.97392 5.97504 1.33398 8.00004 1.33398C10.025 1.33398 11.6667 2.97392 11.6667 5.0005V5.33382H14C14.3684 5.33382 14.6667 5.63381 14.6667 6.00046V14.0001C14.6667 14.3668 14.3684 14.6668 14 14.6668H2.00004C1.63171 14.6668 1.33337 14.3668 1.33337 14.0001V6.00046C1.33337 5.63381 1.63171 5.33382 2.00004 5.33382H4.33337ZM10.3334 5.0005C10.3334 3.71055 9.28871 2.66726 8.00004 2.66726C6.71137 2.66726 5.66671 3.71055 5.66671 5.0005V5.33382H10.3334V5.0005ZM2.66671 6.6671V13.3335H13.3334V6.6671H2.66671Z',
107-
fill: '#3370FF',
108-
}),
109-
h('path', {
110-
d: 'M7.83362 10.2012L7.58362 10.0566C7.33323 9.9118 7.16663 9.64178 7.16663 9.33398C7.16677 8.87403 7.53962 8.50115 7.99963 8.50098C8.4598 8.50098 8.83347 8.87392 8.83362 9.33398C8.83362 9.64172 8.66694 9.91178 8.41663 10.0566L8.16663 10.2012V11.501H7.83362V10.2012Z',
111-
fill: '#3370FF',
112-
stroke: '#3370FF',
113-
}),
114-
],
115-
),
116-
])
117-
},
118-
},
119-
120-
'app-icon-blue': {
121-
iconReader: () => {
122-
return h('i', [
123-
h(
124-
'svg',
125-
{
126-
style: { height: '100%', width: '100%' },
127-
viewBox: '0 0 16 16',
128-
version: '1.1',
129-
xmlns: 'http://www.w3.org/2000/svg',
130-
},
131-
[
132-
h('path', {
133-
d: 'M12.5827 4.66669C12.2867 5.81679 11.2426 6.66661 10 6.66661C8.75748 6.66661 7.71341 5.81679 7.41739 4.66669H1.76069C1.6121 4.66669 1.55822 4.65122 1.5039 4.62217C1.44958 4.59312 1.40695 4.55049 1.3779 4.49617C1.34884 4.44185 1.33337 4.38797 1.33337 4.23939V3.76071C1.33337 3.61213 1.34884 3.55825 1.3779 3.50393C1.40695 3.44961 1.44958 3.40698 1.5039 3.37793C1.55822 3.34888 1.6121 3.33341 1.76069 3.33341H7.41739C7.71341 2.18331 8.75748 1.3335 10 1.3335C11.2426 1.3335 12.2867 2.18331 12.5827 3.33341H14.2394C14.388 3.33341 14.4419 3.34888 14.4962 3.37793C14.5505 3.40698 14.5931 3.44961 14.6222 3.50393C14.6512 3.55825 14.6667 3.61213 14.6667 3.76071V4.23939C14.6667 4.38797 14.6512 4.44185 14.6222 4.49617C14.5931 4.55049 14.5505 4.59312 14.4962 4.62217C14.4419 4.65122 14.388 4.66669 14.2394 4.66669H12.5827ZM10 5.33333C10.7364 5.33333 11.3334 4.7364 11.3334 4.00005C11.3334 3.2637 10.7364 2.66677 10 2.66677C9.26366 2.66677 8.66671 3.2637 8.66671 4.00005C8.66671 4.7364 9.26366 5.33333 10 5.33333Z',
134-
fill: 'currentColor',
135-
}),
136-
h('path', {
137-
d: 'M8.5827 12.6664C8.28667 13.8165 7.2426 14.6663 6.00004 14.6663C4.75748 14.6663 3.71341 13.8165 3.41739 12.6664H1.76069C1.6121 12.6664 1.55822 12.6509 1.5039 12.6218C1.44958 12.5928 1.40695 12.5502 1.3779 12.4958C1.34884 12.4415 1.33337 12.3876 1.33337 12.2391V11.7604C1.33337 11.6118 1.34884 11.5579 1.3779 11.5036C1.40695 11.4493 1.44958 11.4067 1.5039 11.3776C1.55822 11.3485 1.6121 11.3331 1.76069 11.3331H3.41739C3.71341 10.183 4.75748 9.33316 6.00004 9.33316C7.2426 9.33316 8.28667 10.183 8.5827 11.3331H14.2394C14.388 11.3331 14.4419 11.3485 14.4962 11.3776C14.5505 11.4067 14.5931 11.4493 14.6222 11.5036C14.6512 11.5579 14.6667 11.6118 14.6667 11.7604V12.2391C14.6667 12.3876 14.6512 12.4415 14.6222 12.4958C14.5931 12.5502 14.5505 12.5928 14.4962 12.6218C14.4419 12.6509 14.388 12.6664 14.2394 12.6664H8.5827ZM6.00004 13.333C6.73642 13.333 7.33337 12.7361 7.33337 11.9997C7.33337 11.2634 6.73642 10.6664 6.00004 10.6664C5.26366 10.6664 4.66671 11.2634 4.66671 11.9997C4.66671 12.7361 5.26366 13.333 6.00004 13.333Z',
138-
fill: 'currentColor',
139-
}),
140-
],
141-
),
142-
])
143-
},
144-
},
145-
14625
'app-problems': {
14726
iconReader: () => {
14827
return h('i', [

ui/src/components/app-icon/index.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,53 @@ export const iconMap: any = {
183183
])
184184
},
185185
},
186+
'app-migrate': {
187+
iconReader: () => {
188+
return h('i', [
189+
h(
190+
'svg',
191+
{
192+
style: { height: '100%', width: '100%' },
193+
viewBox: '0 0 1024 1024',
194+
version: '1.1',
195+
xmlns: 'http://www.w3.org/2000/svg',
196+
},
197+
[
198+
h('path', {
199+
d: 'M729.002667 42.666667a42.752 42.752 0 0 1 30.165333 12.501333l124.330667 124.416a42.624 42.624 0 0 1 12.501333 30.122667V512h-85.333333V256.853333h-106.666667a21.333333 21.333333 0 0 1-21.333333-21.333333V128H213.333333v768h213.333334v85.333333H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666667-42.666666h558.336z',
200+
fill: 'currentColor',
201+
}),
202+
h('path', {
203+
d: 'M731.178667 603.562667a21.12 21.12 0 0 1 29.994666 0l165.077334 165.973333c16.597333 16.64 16.597333 43.690667 0 60.330667l-165.12 165.930666a21.12 21.12 0 0 1-29.952 0l-30.037334-30.165333a21.418667 21.418667 0 0 1 0-30.165333l89.856-90.325334-258.389333-1.706666a21.333333 21.333333 0 0 1-21.12-21.248l-0.170667-40.448a21.290667 21.290667 0 0 1 21.12-21.418667h0.213334l266.154666 1.749333-97.706666-98.133333a21.418667 21.418667 0 0 1 0-30.165333l30.08-30.165334z',
204+
fill: 'currentColor',
205+
}),
206+
],
207+
),
208+
])
209+
},
210+
},
186211

212+
'app-export': {
213+
iconReader: () => {
214+
return h('i', [
215+
h(
216+
'svg',
217+
{
218+
style: { height: '100%', width: '100%' },
219+
viewBox: '0 0 1024 1024',
220+
version: '1.1',
221+
xmlns: 'http://www.w3.org/2000/svg',
222+
},
223+
[
224+
h('path', {
225+
d: 'M791.04 554.24l-386.432-1.728a21.248 21.248 0 0 1-21.12-21.248L383.36 490.88c-0.064-11.776 9.408-21.376 21.12-21.44h0.192l394.112 1.728-97.664-98.112a21.44 21.44 0 0 1 0-30.208l30.08-30.144a21.12 21.12 0 0 1 29.952 0l165.12 165.952a42.88 42.88 0 0 1 0 60.288l-165.12 165.952a21.12 21.12 0 0 1-30.016 0l-30.016-30.144a21.44 21.44 0 0 1 0-30.208L791.04 554.24z m-132.672-383.552H170.24v682.624h488.128c11.712 0 21.184 9.6 21.184 21.376v42.624a21.248 21.248 0 0 1-21.248 21.376h-530.56A42.56 42.56 0 0 1 85.376 896V128c0-23.552 19.008-42.688 42.496-42.688h530.56c11.712 0 21.184 9.6 21.184 21.376v42.624a21.248 21.248 0 0 1-21.248 21.376z',
226+
fill: 'currentColor',
227+
}),
228+
],
229+
),
230+
])
231+
},
232+
},
187233
// 动态加载的图标
188234
...dynamicIcons,
189235
}
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
<template>
2+
<el-dialog
3+
:title="$t('common.moveTo')"
4+
v-model="dialogVisible"
5+
append-to-body
6+
:close-on-click-modal="false"
7+
:close-on-press-escape="false"
8+
>
9+
<folder-tree
10+
:source="source"
11+
:data="folderList"
12+
:treeStyle="{
13+
height: 'auto',
14+
border: '1px solid #ebeef5',
15+
borderRadius: '6px',
16+
padding: '8px',
17+
}"
18+
:default-expanded-keys="['default']"
19+
:canOperation="false"
20+
class="move-to-dialog-tree"
21+
@handleNodeClick="folderClickHandel"
22+
/>
23+
<template #footer>
24+
<span class="dialog-footer">
25+
<el-button @click.prevent="dialogVisible = false" :loading="loading">
26+
{{ $t('common.cancel') }}
27+
</el-button>
28+
<el-button type="primary" @click="submitHandle" :loading="loading">
29+
{{ $t('common.confirm') }}
30+
</el-button>
31+
</span>
32+
</template>
33+
</el-dialog>
34+
</template>
35+
<script setup lang="ts">
36+
import { ref, watch, reactive } from 'vue'
37+
import { MsgError, MsgSuccess } from '@/utils/message'
38+
import { t } from '@/locales'
39+
import useStore from '@/stores'
40+
import { SourceTypeEnum } from '@/enums/common'
41+
import KnowledgeApi from '@/api/knowledge/knowledge'
42+
import ToolApi from '@/api/tool/tool'
43+
const { folder, application } = useStore()
44+
const emit = defineEmits(['refresh'])
45+
46+
const props = defineProps({
47+
source: {
48+
type: String,
49+
default: '',
50+
},
51+
})
52+
53+
const loading = ref(false)
54+
const dialogVisible = ref(false)
55+
const folderList = ref<any[]>([])
56+
const detail = ref<any>({})
57+
const selectForderId = ref<any>('')
58+
59+
watch(dialogVisible, (bool) => {
60+
if (!bool) {
61+
detail.value = {}
62+
selectForderId.value = ''
63+
folderList.value = []
64+
}
65+
})
66+
67+
const open = (data: any) => {
68+
detail.value = data
69+
getFolder()
70+
dialogVisible.value = true
71+
}
72+
73+
function getFolder() {
74+
const params = {}
75+
folder.asyncGetFolder(props.source, params, loading).then((res: any) => {
76+
folderList.value = res.data
77+
})
78+
}
79+
80+
function folderClickHandel(item: any) {
81+
selectForderId.value = item.id
82+
}
83+
84+
const submitHandle = async () => {
85+
if (selectForderId.value) {
86+
const obj = {
87+
...detail.value,
88+
folder_id: selectForderId.value,
89+
}
90+
if (props.source === SourceTypeEnum.KNOWLEDGE) {
91+
if (detail.value.type === 2) {
92+
KnowledgeApi.putLarkKnowledge(detail.value.id, obj, loading).then(() => {
93+
MsgSuccess(t('common.saveSuccess'))
94+
emit('refresh', detail.value)
95+
dialogVisible.value = false
96+
})
97+
} else {
98+
KnowledgeApi.putKnowledge(detail.value.id, obj, loading).then(() => {
99+
MsgSuccess(t('common.saveSuccess'))
100+
emit('refresh', detail.value)
101+
dialogVisible.value = false
102+
})
103+
}
104+
} else if (props.source === SourceTypeEnum.TOOL) {
105+
ToolApi.putTool(detail.value.id, obj, loading).then(() => {
106+
MsgSuccess(t('common.saveSuccess'))
107+
emit('refresh', detail.value)
108+
dialogVisible.value = false
109+
})
110+
} else if (props.source === SourceTypeEnum.APPLICATION) {
111+
application.asyncPutApplication(detail.value.id, obj, loading).then((res) => {
112+
MsgSuccess(t('common.saveSuccess'))
113+
emit('refresh', detail.value)
114+
dialogVisible.value = false
115+
})
116+
}
117+
} else {
118+
MsgError(t('components.folder.requiredMessage'))
119+
}
120+
}
121+
122+
defineExpose({ open })
123+
</script>
124+
<style lang="scss" scoped>
125+
.move-to-dialog-tree {
126+
:deep(.el-input) {
127+
padding: 0 !important;
128+
margin-bottom: 8px;
129+
}
130+
}
131+
</style>

ui/src/components/folder-tree/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
class="overflow-inherit_node__children"
3131
node-key="id"
3232
v-loading="loading"
33+
v-bind="$attrs"
3334
>
3435
<template #default="{ node, data }">
3536
<div class="flex-between w-full" @mouseenter.stop="handleMouseEnter(data)">

0 commit comments

Comments
 (0)