Showing
1 changed file
with
3 additions
and
0 deletions
| ... | ... | @@ -104,6 +104,7 @@ | 
| 104 | 104 | import { Alert, Divider, Descriptions, Upload } from 'ant-design-vue'; | 
| 105 | 105 | import { uploadApi } from '/@/api/personal/index'; | 
| 106 | 106 | import { useMessage } from '/@/hooks/web/useMessage'; | 
| 107 | + import { buildUUID } from '/@/utils/uuid'; | |
| 107 | 108 | |
| 108 | 109 | export default defineComponent({ | 
| 109 | 110 | components: { | 
| ... | ... | @@ -343,6 +344,8 @@ | 
| 343 | 344 | credentialsV.credentials.certFileName = certFileName.value; | 
| 344 | 345 | credentialsV.credentials.privateKeyFileName = privateKeyFileName.value; | 
| 345 | 346 | } | 
| 347 | + //clientId 从uuid里切片8位 | |
| 348 | + sonValues.configuration.clientId = buildUUID().slice(0, 8); | |
| 346 | 349 | Object.assign(sonValues.configuration, credentialsV); | 
| 347 | 350 | return sonValues; | 
| 348 | 351 | }; | ... | ... |