lex 11 месяцев назад
Родитель
Сommit
0dd321db42
1 измененных файлов с 1 добавлено и 0 удалено
  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',