修复雪花算法ID精度丢失

This commit is contained in:
shixiaohe 2024-11-24 15:53:31 +08:00
parent 22199c64fd
commit 154dd6c40b
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ defineOptions({ name: 'CrmProductDetail' })
const route = useRoute()
const message = useMessage()
const id = Number(route.params.id) //
const id = route.params.id //
const loading = ref(true) //
const product = ref<ProductApi.ProductVO>({} as ProductApi.ProductVO) //

View File

@ -27,7 +27,7 @@ defineOptions({ name: 'IoTDeviceDetail' })
const route = useRoute()
const message = useMessage()
const id = Number(route.params.id) //
const id = route.params.id //
const loading = ref(true) //
const product = ref<ProductVO>({} as ProductVO) //
const device = ref<DeviceVO>({} as DeviceVO) //

View File

@ -33,7 +33,7 @@ const { currentRoute } = useRouter()
const route = useRoute()
const message = useMessage()
const id = Number(route.params.id) //
const id = route.params.id //
const loading = ref(true) //
const product = ref<ProductVO>({} as ProductVO) //
const activeTab = ref('info') //

View File

@ -113,7 +113,7 @@ const getUserData = async (id: number) => {
const { currentRoute } = useRouter() //
const { delView } = useTagsViewStore() //
const route = useRoute()
const id = Number(route.params.id)
const id = route.params.id
/* 用户钱包相关信息 */
const WALLET_INIT_DATA = {
balance: 0,