File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ defineOptions({ name: 'CrmProductDetail' })
24
24
25
25
const route = useRoute ()
26
26
const message = useMessage ()
27
- const id = Number ( route .params .id ) // 编号
27
+ const id = route .params .id // 编号
28
28
const loading = ref (true ) // 加载中
29
29
const product = ref <ProductApi .ProductVO >({} as ProductApi .ProductVO ) // 详情
30
30
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ defineOptions({ name: 'IoTDeviceDetail' })
27
27
28
28
const route = useRoute ()
29
29
const message = useMessage ()
30
- const id = Number ( route .params .id ) // 编号
30
+ const id = route .params .id // 编号
31
31
const loading = ref (true ) // 加载中
32
32
const product = ref <ProductVO >({} as ProductVO ) // 产品详情
33
33
const device = ref <DeviceVO >({} as DeviceVO ) // 设备详情
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const { currentRoute } = useRouter()
33
33
34
34
const route = useRoute ()
35
35
const message = useMessage ()
36
- const id = Number ( route .params .id ) // 编号
36
+ const id = route .params .id // 编号
37
37
const loading = ref (true ) // 加载中
38
38
const product = ref <ProductVO >({} as ProductVO ) // 详情
39
39
const activeTab = ref (' info' ) // 默认激活的标签页
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ const getUserData = async (id: number) => {
113
113
const { currentRoute } = useRouter () // 路由
114
114
const { delView } = useTagsViewStore () // 视图操作
115
115
const route = useRoute ()
116
- const id = Number ( route .params .id )
116
+ const id = route .params .id
117
117
/* 用户钱包相关信息 */
118
118
const WALLET_INIT_DATA = {
119
119
balance: 0 ,
You can’t perform that action at this time.
0 commit comments