File tree Expand file tree Collapse file tree 1 file changed +37
-41
lines changed Expand file tree Collapse file tree 1 file changed +37
-41
lines changed Original file line number Diff line number Diff line change 4343 </v-hover >
4444</template >
4545
46- <script lang="ts">
47- import { defineComponent } from " vue" ;
46+ <script setup lang="ts">
4847import DeviceAdd from " ../Devices/DeviceAdd.vue" ;
4948
50- export default defineComponent ({
51- props: {
52- id: {
53- type: Number ,
54- default: 0 ,
55- },
56- title: {
57- type: String ,
58- default: " " ,
59- },
60- fieldObject: {
61- type: String ,
62- default: " " ,
63- },
64- content: {
65- type: String ,
66- default: " " ,
67- },
68- icon: {
69- type: String ,
70- default: " " ,
71- },
72- buttonName: {
73- type: String ,
74- default: " " ,
75- },
76- pathName: {
77- type: String ,
78- default: " " ,
79- },
80- nameUseTest: {
81- type: String ,
82- default: " " ,
83- },
84- stats: {
85- type: Number ,
86- default: 0 ,
87- },
49+ defineProps ({
50+ id: {
51+ type: Number ,
52+ default: 0 ,
53+ },
54+ title: {
55+ type: String ,
56+ default: " " ,
57+ },
58+ fieldObject: {
59+ type: String ,
60+ default: " " ,
61+ },
62+ content: {
63+ type: String ,
64+ default: " " ,
65+ },
66+ icon: {
67+ type: String ,
68+ default: " " ,
69+ },
70+ buttonName: {
71+ type: String ,
72+ default: " " ,
73+ },
74+ pathName: {
75+ type: String ,
76+ default: " " ,
77+ },
78+ nameUseTest: {
79+ type: String ,
80+ default: " " ,
81+ },
82+ stats: {
83+ type: Number ,
84+ default: 0 ,
8885 },
89- components: { DeviceAdd },
9086});
9187 </script >
9288
You can’t perform that action at this time.
0 commit comments