Browse Source

Update index.tsx

lex 11 tháng trước cách đây
mục cha
commit
0dd321db42
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/components/col-upload/index.tsx

+ 1 - 0
src/components/col-upload/index.tsx

@@ -58,6 +58,7 @@ export default defineComponent({
   },
   methods: {
     nativeUpload() {
+      if (this.disabled) return
       postMessage(
         {
           api: 'chooseFile',