添加注释,删除无用代码

This commit is contained in:
mabo
2021-05-13 18:09:36 +08:00
parent 967e673647
commit a2752a731d
122 changed files with 868 additions and 1185 deletions

View File

@@ -104,11 +104,7 @@ export default {
},
data() {
return {
maxHeight: "240px",
modalType: 0,
/** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */
currentStatus: 0,
categoryId: 0,
modalType: 0, // 当前类型
loading: false, // 表单加载状态
searchForm: {
// 搜索框初始化对象

View File

@@ -150,12 +150,7 @@ export default {
}
};
return {
arrScopeId: [],
maxHeight: "240px",
modalType: 0,
/** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */
currentStatus: 0,
categoryId: 0,
modalType: 0, // 是否编辑
form: {
/** 店铺承担比例 */
storeCommission: 0,
@@ -173,7 +168,7 @@ export default {
promotionGoodsList: [],
scopeIdGoods: [],
},
id: this.$route.query.id,
id: this.$route.query.id, // 优惠券id
submitLoading: false, // 添加或编辑提交状态
selectedGoods: [], // 已选商品列表,便于删除
goodsCategoryList: [], // 商品分类列表

View File

@@ -61,7 +61,6 @@ export default {
data() {
return {
loading: true, // 表单加载状态
modalType: 0, // 添加或编辑标识
searchForm: {
// 搜索框初始化对象
@@ -70,7 +69,7 @@ export default {
sort: "createTime", // 默认排序字段
order: "desc", // 默认排序方式
},
id: this.$route.query.id,
id: this.$route.query.id, // 优惠券id
submitLoading: false, // 添加或编辑提交状态
selectList: [], // 多选数据