Browse Source

Update index.tsx

lex 11 months ago
parent
commit
0dd321db42
1 changed files with 1 additions and 0 deletions
  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',