diff --git a/pages/device-operation/index.vue b/pages/device-operation/index.vue index 7815963..d6c68f4 100644 --- a/pages/device-operation/index.vue +++ b/pages/device-operation/index.vue @@ -230,12 +230,14 @@ export default { }) }, selectImg() { - uploadImage() + uploadImage(['album', 'camera'], 5 - this.form.imgItemList.length) .then((urls) => { if (urls) { - this.form.imgItemList.push({ - url: urls[0], - type: fileType.IMG + urls.forEach((url) => { + this.form.imgItemList.push({ + url, + fileType: fileType.IMG + }) }) } }) diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 2365cde..1197574 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -101,7 +101,7 @@ 地址管理 - + 账号注销 @@ -232,8 +232,6 @@ export default { } }, userInfo() { - console.log('userInfo:', this.$store.state.userInfo) - console.log('companyInfo:', this.$store.state.companyInfo) return { avatar: this.$store.state.userInfo.avatar || '', name: this.$store.state.userInfo.name || this.$store.state.userInfo.mobile || '', diff --git a/pages/production-operation/index.vue b/pages/production-operation/index.vue index 3670930..04a2379 100644 --- a/pages/production-operation/index.vue +++ b/pages/production-operation/index.vue @@ -136,12 +136,11 @@ export default { }) }, selectImg() { - uploadImage() + uploadImage(['album', 'camera'], 5 - this.form.imgItemList) .then((urls) => { if (urls) { - this.form.imgItemList.push({ - url: urls[0], - type: fileType.IMG + urls.forEach((url) => { + this.form.imgItemList.push({ url, type: fileType.IMG }) }) } }) diff --git a/pages/select-role/index.vue b/pages/select-role/index.vue index 14eb5b8..481f92b 100644 --- a/pages/select-role/index.vue +++ b/pages/select-role/index.vue @@ -3,7 +3,7 @@ - 温馨提示:角色选定后无法变更请按需选择。 + 温馨提示:角色选定后无法变更,请按需选择。 请选择你的角色 diff --git a/static/imgs/mine/cancel-account-icon.png b/static/imgs/mine/cancel-account-icon.png new file mode 100644 index 0000000..b16cc25 Binary files /dev/null and b/static/imgs/mine/cancel-account-icon.png differ