lex преди 1 година
родител
ревизия
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',