Commit f857c38b87f73d8974a0c13a0e9bcbf0217b3749
Merge branch 'ww' into 'main'
fix: build package happend error on device profile tsl modal import textarea component See merge request huang/yun-teng-iot-front!425
Showing
1 changed file
with
6 additions
and
2 deletions
... | ... | @@ -24,7 +24,11 @@ |
24 | 24 | </div> |
25 | 25 | <div class="relative"> |
26 | 26 | <Spin :spinning="loading"> |
27 | - <Textarea :disabled="true" :auto-size="{ minRows: 20, maxRows: 20 }" :value="jsonValue" /> | |
27 | + <Input.TextArea | |
28 | + :disabled="true" | |
29 | + :auto-size="{ minRows: 20, maxRows: 20 }" | |
30 | + :value="jsonValue" | |
31 | + /> | |
28 | 32 | </Spin> |
29 | 33 | </div> |
30 | 34 | </div> |
... | ... | @@ -33,7 +37,7 @@ |
33 | 37 | import { ref, unref, onMounted } from 'vue'; |
34 | 38 | import { CopyOutlined } from '@ant-design/icons-vue'; |
35 | 39 | import { useMessage } from '/@/hooks/web/useMessage'; |
36 | - import { Button, Typography, TypographyParagraph, Tabs, Spin, Textarea } from 'ant-design-vue'; | |
40 | + import { Button, Typography, TypographyParagraph, Tabs, Spin, Input } from 'ant-design-vue'; | |
37 | 41 | import { FunctionType } from './config'; |
38 | 42 | import useCommon from '../hook/useCommon'; |
39 | 43 | import { DeviceRecord } from '/@/api/device/model/deviceModel'; | ... | ... |