判断是否为无界,显示文件对话框的上传文件
This commit is contained in:
parent
febcf00d94
commit
c35ff719c6
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue