Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
154dd6c4
authored
Nov 24, 2024
by
shixiaohe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复雪花算法ID精度丢失
parent
22199c64
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
src/views/crm/product/detail/index.vue
+1
-1
src/views/iot/device/detail/index.vue
+1
-1
src/views/iot/product/detail/index.vue
+1
-1
src/views/member/user/detail/index.vue
+1
-1
No files found.
src/views/crm/product/detail/index.vue
View file @
154dd6c4
...
@@ -24,7 +24,7 @@ defineOptions({ name: 'CrmProductDetail' })
...
@@ -24,7 +24,7 @@ defineOptions({ name: 'CrmProductDetail' })
const
route
=
useRoute
()
const
route
=
useRoute
()
const
message
=
useMessage
()
const
message
=
useMessage
()
const
id
=
Number
(
route
.
params
.
id
)
// 编号
const
id
=
route
.
params
.
id
// 编号
const
loading
=
ref
(
true
)
// 加载中
const
loading
=
ref
(
true
)
// 加载中
const
product
=
ref
<
ProductApi
.
ProductVO
>
({}
as
ProductApi
.
ProductVO
)
// 详情
const
product
=
ref
<
ProductApi
.
ProductVO
>
({}
as
ProductApi
.
ProductVO
)
// 详情
...
...
src/views/iot/device/detail/index.vue
View file @
154dd6c4
...
@@ -27,7 +27,7 @@ defineOptions({ name: 'IoTDeviceDetail' })
...
@@ -27,7 +27,7 @@ defineOptions({ name: 'IoTDeviceDetail' })
const
route
=
useRoute
()
const
route
=
useRoute
()
const
message
=
useMessage
()
const
message
=
useMessage
()
const
id
=
Number
(
route
.
params
.
id
)
// 编号
const
id
=
route
.
params
.
id
// 编号
const
loading
=
ref
(
true
)
// 加载中
const
loading
=
ref
(
true
)
// 加载中
const
product
=
ref
<
ProductVO
>
({}
as
ProductVO
)
// 产品详情
const
product
=
ref
<
ProductVO
>
({}
as
ProductVO
)
// 产品详情
const
device
=
ref
<
DeviceVO
>
({}
as
DeviceVO
)
// 设备详情
const
device
=
ref
<
DeviceVO
>
({}
as
DeviceVO
)
// 设备详情
...
...
src/views/iot/product/detail/index.vue
View file @
154dd6c4
...
@@ -33,7 +33,7 @@ const { currentRoute } = useRouter()
...
@@ -33,7 +33,7 @@ const { currentRoute } = useRouter()
const
route
=
useRoute
()
const
route
=
useRoute
()
const
message
=
useMessage
()
const
message
=
useMessage
()
const
id
=
Number
(
route
.
params
.
id
)
// 编号
const
id
=
route
.
params
.
id
// 编号
const
loading
=
ref
(
true
)
// 加载中
const
loading
=
ref
(
true
)
// 加载中
const
product
=
ref
<
ProductVO
>
({}
as
ProductVO
)
// 详情
const
product
=
ref
<
ProductVO
>
({}
as
ProductVO
)
// 详情
const
activeTab
=
ref
(
'info'
)
// 默认激活的标签页
const
activeTab
=
ref
(
'info'
)
// 默认激活的标签页
...
...
src/views/member/user/detail/index.vue
View file @
154dd6c4
...
@@ -113,7 +113,7 @@ const getUserData = async (id: number) => {
...
@@ -113,7 +113,7 @@ const getUserData = async (id: number) => {
const
{
currentRoute
}
=
useRouter
()
// 路由
const
{
currentRoute
}
=
useRouter
()
// 路由
const
{
delView
}
=
useTagsViewStore
()
// 视图操作
const
{
delView
}
=
useTagsViewStore
()
// 视图操作
const
route
=
useRoute
()
const
route
=
useRoute
()
const
id
=
Number
(
route
.
params
.
id
)
const
id
=
route
.
params
.
id
/* 用户钱包相关信息 */
/* 用户钱包相关信息 */
const
WALLET_INIT_DATA
=
{
const
WALLET_INIT_DATA
=
{
balance
:
0
,
balance
:
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment