...
|
...
|
@@ -28,15 +28,16 @@ export const columns: BasicColumn[] = [ |
28
|
28
|
slots: { customRender: 'name', title: 'deviceTitle' },
|
29
|
29
|
customRender: ({ record }) => {
|
30
|
30
|
return h('div', { style: 'display:flex;flex-direction:column' }, [
|
|
31
|
+ record.alias &&
|
|
32
|
+ h(
|
|
33
|
+ 'div',
|
|
34
|
+ {
|
|
35
|
+ class: 'cursor-pointer',
|
|
36
|
+ },
|
|
37
|
+ `${record.alias}`
|
|
38
|
+ ),
|
31
|
39
|
h(
|
32
|
|
- 'p',
|
33
|
|
- {
|
34
|
|
- class: 'cursor-pointer',
|
35
|
|
- },
|
36
|
|
- `${record.alias}`
|
37
|
|
- ),
|
38
|
|
- h(
|
39
|
|
- 'p',
|
|
40
|
+ 'div',
|
40
|
41
|
{
|
41
|
42
|
class: 'cursor-pointer text-blue-500',
|
42
|
43
|
onClick: () => {
|
...
|
...
|
|