选部门bug

This commit is contained in:
shijingjing
2023-03-01 09:46:06 +08:00
parent 6b576fbdfc
commit 70415a8f9a

View File

@@ -134,8 +134,8 @@ export default {
},
onShow() {
// 网格或者部门
this.selectedUser = uni.getStorageSync('girdSelect')
this.deptListArr = uni.getStorageSync('deptList')
this.selectedUser = uni.getStorageSync('girdSelect') || []
this.deptListArr = uni.getStorageSync('deptList') || []
// 添加时间
this.startTime = uni.getStorageSync('startTime')
this.endTime = uni.getStorageSync('endTime')