fix: 去掉通知的type类型

This commit is contained in:
lzhizhao 2025-07-03 10:42:27 +08:00
parent 0d3c944fe4
commit 679145f899
2 changed files with 1 additions and 16 deletions

View File

@ -140,7 +140,6 @@ export default {
advanceSellStatus: "",
dataList: [],
formInline: {
type: 0,
targetId: "",
position: "3",
},
@ -180,14 +179,12 @@ export default {
JSON.parse(sessionStorage.getItem("userInfo")).role === "ROLE_MANAGER"
) {
this.formInline = {
type: 0,
targetId: this.marketId,
position: "2",
app: 1,
};
} else {
this.formInline = {
type: 0,
targetId: this.shopId,
position: "3",
app: 1,
@ -242,7 +239,6 @@ export default {
},
Reset() {
this.formInline = {
type: 0,
targetId: this.shopId,
position: "3",
app: 1,

View File

@ -59,20 +59,9 @@ export default {
targetId: row.targetId,
title: "",
position: row.position,
type: 0,
status: true,
app: 1,
};
if (
JSON.parse(sessionStorage.getItem("userInfo")).role ===
"ROLE_MANAGER" ||
JSON.parse(sessionStorage.getItem("userInfo")).role ===
"ROLE_MERCHANT"
) {
this.modalData.type = 0;
} else {
this.modalData.type = 1
}
this.fileList = [];
this.modalConfig.title = "添加公告";
this.isAdd = true;