Commit bd6b24cd by 周志凯

出入口多选解决无法保存问题解决

1 parent 2d289783
......@@ -80,11 +80,13 @@
handler: function(val) {
this.changeScope()
},
immediate: true,
deep: true
}
},
created() {
if(!this.multiCheckedGateId) {
console.log('created', this.multiCheckedGateId)
if(!this.multiCheckedGateId.length) {
this.$store.dispatch('malls/getMallList', {
data: {
accountId: this.getStorage('accountId'),
......@@ -125,7 +127,7 @@
// })
},
confirmFun() {
if(this.checkedMallIds.length == 0){
if(this.checkedGateIds.length == 0){
uni.showToast({
icon:'none',
title:'请至少选择一项'
......
......@@ -188,7 +188,7 @@ const actions = {
commit(MALLS.CHECKED_GATE_ID, gateId)
},
updateMultiCheckedGate({ commit }, multiGateId) {
commit(MALLS.CHECKED_MULTI_GATE_ID, multiMallId)
commit(MALLS.CHECKED_MULTI_GATE_ID, multiGateId)
},
updateStartEndDate({ commit }, { startDate, endDate, startPickerIdx, endPickerIdx }) {
startDate && commit(MALLS.SET_START_DATE, startDate)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!