判断是否为无界,显示文件对话框的上传文件

This commit is contained in:
miao 2023-02-14 10:18:13 +08:00
parent febcf00d94
commit c35ff719c6
1 changed files with 6 additions and 2 deletions

View File

@ -156,7 +156,7 @@
</q-btn> </q-btn>
<q-btn <q-btn
flat flat
v-if="!uploading" v-if="!uploading &&!iswujie"
no-caps no-caps
icon="upload" icon="upload"
:label="$t('upload file')" :label="$t('upload file')"
@ -808,7 +808,10 @@ export default defineComponent({
console.log(e); console.log(e);
} }
}; };
let iswujie=ref(false)
if ((window as any).$wujie) {
iswujie.value=true
}
// //
// watch( // watch(
// () => filters.value, // () => filters.value,
@ -846,6 +849,7 @@ export default defineComponent({
refresh_file_list_async, refresh_file_list_async,
status, status,
filters, filters,
iswujie,
showDialogAsync( showDialogAsync(
in_status: string, in_status: string,
no_filter = true, no_filter = true,