fix(customer-vue): ㅈ바구니 알림메시지 수정
- 장바구니 데이터가 없을시 알림메시지
This commit is contained in:
@@ -94,6 +94,7 @@ export default {
|
||||
this.$router.push("/history")
|
||||
})
|
||||
.catch(error=>{
|
||||
alert("문제가 발생하였습니다. 다시 시도해보세요.")
|
||||
console.log(error)
|
||||
//this.$router.replace("/")
|
||||
})
|
||||
@@ -105,8 +106,9 @@ export default {
|
||||
this.orderData=response.data.data
|
||||
})
|
||||
.catch(error=>{
|
||||
alert("장바구니에 상품이 없습니다.")
|
||||
this.$router.back();
|
||||
console.log(error.response)
|
||||
history.back();
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user