添加注释,删除无用代码

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

@@ -97,11 +97,7 @@ export default {
name: "addSeckill",
data() {
return {
maxHeight: "240px",
modalType: 0,
/** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */
currentStatus: 0,
categoryId: 0,
modalType: 0, // 添加、编辑标识
form: {
/** 活动名称 */
promotionName: "",
@@ -115,9 +111,9 @@ export default {
seckillRule: "",
promotionStatus: "NEW",
},
id: this.$route.query.id,
periodTime: null,
showAddPeriod: false,
id: this.$route.query.id, // 活动id
periodTime: null, // 抢购时间段
showAddPeriod: false, // input显隐
submitLoading: false, // 添加或编辑提交状态
formRule: {

View File

@@ -145,9 +145,7 @@ export default {
sort: "startTime",
order: "desc", // 默认排序方式
},
selectList: [], // 多选数据
selectCount: 0, // 多选计数
columns: [
columns: [ // 表单
{
title: "活动名称",
key: "promotionName",

View File

@@ -168,21 +168,21 @@
export default {
data() {
return {
promotionStatus: "",
showModal: false,
openTip: true,
promotionStatus: "", // 活动状态
showModal: false, // modal显隐
openTip: true, // 显示提示
loading: false, // 表单加载状态
submitLoading: false,
submitLoading: false, // 加载状态
searchForm: {
// 搜索框初始化对象
pageNumber: 0, // 当前页数
pageSize: 100, // 页面大小
},
total: 0,
total: 0, // 总数
selectList: [], // 多选数据
selectCount: 0, // 多选计数
data: [], // 表单数据
columns: [
columns: [ // 表头
{
title: "活动名称",
key: "promotionName",
@@ -246,7 +246,7 @@
},
},
],
goodsColumns: [
goodsColumns: [ // 商品表单
{type: "selection", width: 60, align: "center"},
{
title: "商品名称",