diff --git a/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue b/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue index b3b00168..380d7837 100644 --- a/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue +++ b/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue @@ -126,12 +126,12 @@ export default { dataList.push(element) }) this.options = dataList - // if (!this.data.note1) { - // this.$http.get('/sys/user/info').then(({ data: res }) => { - // console.log(res.data) - // this.data.note1 = res.data.deptId - // }) - // } + if (!this.data.note1) { + this.$http.get('/sys/user/info').then(({ data: res }) => { + console.log(res.data) + this.data.note1 = res.data.deptId + }) + } }) } else if (this.data.name === '部门联系人') { // this.$http.get('/sys/dept/all').then(res => {