imeik-bizui 2.2.2 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -171,12 +171,8 @@ export default {
171
171
  * 检查默认选中模式
172
172
  */
173
173
  checkDefault() {
174
- // 如果是查看模式,则不设置默认值
175
- if(this.isView) {
176
- return
177
- }
178
- let defaultType = this.attrs.default
179
- let tempValue = undefined
174
+ const defaultType = this.attrs.default
175
+ let tempValue
180
176
  // 如果默认选中“我的部门”,且无初始值,则设为默认部门
181
177
  if (defaultType === '2') {
182
178
  tempValue = this.defaultDepartment