wanggaokun 11 сар өмнө
parent
commit
a8dac3b6df

+ 3 - 4
src/views/system/oss/index.vue

@@ -90,7 +90,6 @@ const checkFileSuffix = (fileSuffix: string | string[]) => {
 const handlePreviewListResource = async (preview: boolean) => {
   const res = await getConfigKeyApi('sys.oss.previewListResource')
   let text = preview ? '启用' : '停用'
-  getConfigKeyApi
   await useHandleData(
     updateConfigByKeyApi,
     { configKey: 'sys.oss.previewListResource', configValue: preview, version: res.data.version },
@@ -141,7 +140,7 @@ const columns = reactive<ColumnProps<any>[]>([
     search: {
       el: 'input'
     },
-    width: 420
+    width: 220
   },
   {
     prop: 'originalName',
@@ -162,10 +161,10 @@ const columns = reactive<ColumnProps<any>[]>([
   {
     prop: 'url',
     label: 'URL地址',
-    showOverflowTooltip: false,
     search: {
       el: 'input'
-    }
+    },
+    width: 200
   },
   {
     prop: 'service',