弹框判断

fix/goods-0525
ch 2 years ago
parent 5741b4ecf9
commit f0e60a44c7

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-05-08 01:11:33
* @LastEditors: ch
* @LastEditTime: 2022-05-27 19:59:09
* @LastEditTime: 2022-05-27 20:01:33
* @Description: file content
-->
<template>
@ -31,16 +31,19 @@ export default {
},
mounted(){
// this.getOrderInfo();
this.$confirm("虚拟商品已自动发货,前往消息中心查看?", "提示", {
confirmButtonText: "前往",
cancelButtonText: "取消",
callback: async (e) => {
if (e == `confirm`) {
window.open('https://you.mashibing.com/account/message','_black');
}
if(this.$route.query.type == 2){
this.$confirm("虚拟商品已自动发货,前往消息中心查看?", "提示", {
confirmButtonText: "前往",
cancelButtonText: "取消",
callback: async (e) => {
if (e == `confirm`) {
window.open('https://you.mashibing.com/account/message','_black');
}
}
})
}
})
},
methods:{
async getOrderInfo(){

Loading…
Cancel
Save