story#6982 车辆信息修改--自测

This commit is contained in:
2025-08-14 14:07:01 +08:00
parent e18be51b77
commit 4dc0e9b835

View File

@ -322,7 +322,7 @@ export default {
},
methods:{
setDefault() {
if( this.vehicleLicenseInfo?.vehicleType?.includes('轻型') || this.vehicleLicenseInfo?.vehicleType.includes('微型') || this.vehicleLicenseInfo?.vehicleType.includes('普通') || this.vehicleLicenseInfo?.vehicleType.includes('摩托') ) {
if( this.vehicleLicenseInfo?.vehicleType?.includes('轻型') || this.vehicleLicenseInfo?.vehicleType?.includes('微型') || this.vehicleLicenseInfo?.vehicleType?.includes('普通') || this.vehicleLicenseInfo?.vehicleType?.includes('摩托') ) {
this.vehicleTypes.map(item => {
if( item.value == 1 || item.value == 9 ) {
item.disabled = false;