diff --git a/template/admin/src/components/uploadImg/index.vue b/template/admin/src/components/uploadImg/index.vue new file mode 100644 index 000000000..1272ea210 --- /dev/null +++ b/template/admin/src/components/uploadImg/index.vue @@ -0,0 +1,359 @@ + + + + diff --git a/template/admin/src/components/uploadPictures/index.vue b/template/admin/src/components/uploadPictures/index.vue index 6241bab4a..148e86a8c 100644 --- a/template/admin/src/components/uploadPictures/index.vue +++ b/template/admin/src/components/uploadPictures/index.vue @@ -34,7 +34,21 @@ v-if="isShow !== 0" >使用选中图片 - --> + + + + @@ -146,9 +161,10 @@ import { } from '@/api/uploadPictures'; import Setting from '@/setting'; import { getCookies } from '@/libs/util'; +import uploadImg from '@/components/uploadImg'; export default { name: 'uploadPictures', - // components: { editFrom }, + components: { uploadImg }, props: { isChoice: { type: String, @@ -211,6 +227,9 @@ export default { this.getFileList(); }, methods: { + uploadModal() { + this.$refs.upload.uploadModal = true; + }, enterMouse(item) { item.realName = !item.realName; },