token问题修复3

This commit is contained in:
2023-08-23 13:43:11 +08:00
parent 30af198649
commit a81f755914
4 changed files with 4 additions and 13 deletions

View File

@@ -23,7 +23,7 @@
<div class="codeLeft">{{item.plateNumber}} / {{item.vehicleTypeString}}</div>
<div class="twoBtn">
<button class="del" @click="deleteItem(item.vehicleId)">删除</button>
<button class="revise" @click="updateVehlcle(item)">修改</button>
<button class="revise" @click="updateVehicle(item)">修改</button>
</div>
</div>
<div class="carType">{{ item.serviceName }}</div>
@@ -57,11 +57,11 @@ export default {
}
},
mounted() {
this.$toast('window.location', window.location)
this.$toast('window.location'+window.location)
this.getVehicleList();
},
methods:{
updateVehlcle(item){
updateVehicle(item){
this.$router.push({
name:'vehicleAdd',
params:{