mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
chore(Uploader): remove unused computed
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user