弹框判断

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

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

Loading…
Cancel
Save