Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jgdl
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-08-01 16:01:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ee0f28dbc9a63229052773ee9cb431ad0043e809
ee0f28db
1 parent
34996ca3
fix(myCar): 修复认证按钮在状态为2时不显示的问题
修改认证车辆API调用以接收返回的data数据
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/pages/myCar/index.vue
src/pages/setAuthCar/index.vue
src/pages/myCar/index.vue
View file @
ee0f28d
...
...
@@ -104,7 +104,7 @@
上架
</nut-button>
<nut-button
v-if="car.verification_status === 1 || car.verification_status === 7"
v-if="car.verification_status === 1 || car.verification_status === 7
|| car.verification_status === 2
"
@click.stop="authCar(car.id)"
size="small"
type="primary"
...
...
src/pages/setAuthCar/index.vue
View file @
ee0f28d
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-08-01 1
4:19:5
4
* @LastEditTime: 2025-08-01 1
5:16:0
4
* @FilePath: /jgdl/src/pages/setAuthCar/index.vue
* @Description: 申请认证
-->
...
...
@@ -548,7 +548,7 @@ const onSubmit = async () => {
// 调用真实API
if (isEditMode.value) {
// 编辑车辆,且认证时,op=verification,表示申请认证
const { code } = await editVehicleAPI({ id: carId.value, ...formData, op: 'verification' })
const { code
, data
} = await editVehicleAPI({ id: carId.value, ...formData, op: 'verification' })
if (code) {
onPay({
id: data.id,
...
...
Please
register
or
login
to post a comment