Commit 69e8c829 authored by 黄奎's avatar 黄奎

页面修改

parent 02653c19
......@@ -568,7 +568,24 @@
//重置
resetInfo() {
if (this.mallMsg.BottomTagList && this.mallMsg.BottomTagList.length > 0) {
var tagIds = "0,";
this.mallMsg.BottomTagList.forEach(item => {
if (item.TagId > 0) {
tagIds += item.TagId + ",";
}
});
tagIds=tagIds.substring(0, tagIds.lastIndexOf(','));
this.apipost("/api/Tenant/RemoveMiniProgramMallTag", {
TagId: tagIds
}, res => {
if (res.data.resultCode == 1) {} else {
this.Info(res.data.message);
}
})
}
this.mallMsg.BottomTagList = [];
this.mallMsg.BottomTagList = JSON.parse(JSON.stringify(this.defaultTagList));
}
},
mounted() {
......
......@@ -78,7 +78,7 @@
<el-button plain size="small" @click="isShowLink=true">选择链接</el-button>
</el-form-item>
<el-form-item label="是否显示">
<el-switch v-model="addMsg.NavIconIsShow" :active-value="1" :inactive-value="0"></el-switch>
<el-switch v-model="addMsg.NavIconIsShow" :active-value="0" :inactive-value="1"></el-switch>
</el-form-item>
</el-form>
</div>
......
......@@ -396,7 +396,7 @@
<div class="diy-goods-label">商品数量</div>
<div>
<el-input v-model.number="cat.goodsNum" type="number" min="1" max="30" size="small"
:disabled="cat.staticGoods" @change="catGoodsNumChange(catIndex)"></el-input>
@change="catGoodsNumChange(catIndex)"></el-input>
</div>
</div>
<div flex="box:first">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment