chore(Uploader): remove unused computed

This commit is contained in:
chenjiahan 2020-09-03 21:11:22 +08:00
parent 96fe977d1b
commit 82ac453910

View File

@ -2,7 +2,6 @@
import { import {
noop, noop,
isDef, isDef,
addUnit,
isPromise, isPromise,
getSizeStyle, getSizeStyle,
createNamespace, createNamespace,
@ -92,12 +91,6 @@ export default createComponent({
'update:modelValue', 'update:modelValue',
], ],
computed: {
previewSizeWithUnit() {
return addUnit(this.previewSize);
},
},
methods: { methods: {
getDetail(index = this.modelValue.length) { getDetail(index = this.modelValue.length) {
return { return {