From 5624d811eabf1e9b5fc04763f21cfb3775258134 Mon Sep 17 00:00:00 2001 From: dolymood Date: Fri, 19 Jan 2018 16:44:21 +0800 Subject: [PATCH] update upload: if maxed then hidden upload btn --- src/components/upload/upload.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/upload/upload.vue b/src/components/upload/upload.vue index 7046ef4d5..83443f84f 100644 --- a/src/components/upload/upload.vue +++ b/src/components/upload/upload.vue @@ -3,7 +3,7 @@
- +
@@ -72,6 +72,9 @@ } else { return action } + }, + isShowBtn() { + return this.files.length < this.max } }, methods: {