|
@@ -51,25 +51,26 @@ export default {
|
|
|
bus.$emit("openGetSoundMsg");
|
|
|
this.getProductList();
|
|
|
let memberType = this.$store.state.userInfo.memberType;
|
|
|
- if (memberType === 1) {
|
|
|
- this.$confirm("您当前还不是商户,请先申请成为商户!", "提示", {
|
|
|
- confirmButtonText: "成为商户",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.$message({
|
|
|
- type: "success",
|
|
|
- message: "删除成功!",
|
|
|
- });
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- this.$message({
|
|
|
- type: "info",
|
|
|
- message: "已取消删除",
|
|
|
- });
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (memberType === 1) {
|
|
|
+ // this.$confirm("您当前还不是商户,请先申请成为商户!", "提示", {
|
|
|
+ // confirmButtonText: "成为商户",
|
|
|
+ // cancelButtonText: "取消",
|
|
|
+ // type: "warning",
|
|
|
+ // center: true,
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // this.$message({
|
|
|
+ // type: "success",
|
|
|
+ // message: "删除成功!",
|
|
|
+ // });
|
|
|
+ // })
|
|
|
+ // .catch(() => {
|
|
|
+ // this.$message({
|
|
|
+ // type: "info",
|
|
|
+ // message: "已取消删除",
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // }
|
|
|
},
|
|
|
|
|
|
methods: {
|