mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-20 04:45:37 +08:00
fix: wrong boolean
This commit is contained in:
@@ -137,8 +137,8 @@ function handleToSettings() {
|
||||
|
||||
const preview = ref(false);
|
||||
onMounted(async () => {
|
||||
const resp = await configInfoByKey('sys.oss.previewListResource');
|
||||
preview.value = Boolean(resp);
|
||||
const previewStr = await configInfoByKey('sys.oss.previewListResource');
|
||||
preview.value = previewStr === 'true';
|
||||
});
|
||||
|
||||
function isImageFile(ext: string) {
|
||||
|
||||
Reference in New Issue
Block a user