admin/src/components/common/UploadImage.vue
@@ -60,7 +60,6 @@ data() { return { uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/web/public/uploadLocal', realList: [], srcList: [], tempIndex: 0, @@ -81,7 +80,6 @@ }, methods: { beforeUpload(file) { this.$emit('beginUpload') return true }, @@ -128,7 +126,7 @@ this.fileList.splice(tempIndex, 1) this.srcList.splice(tempIndex, 1) }, } }, } </script>