parent
869d01cd9b
commit
7c1801cc0b
|
|
@ -1,6 +1,5 @@
|
|||
.upload-content {
|
||||
height: 57.4rem;
|
||||
gap: 4.5rem;
|
||||
.left-content {
|
||||
width: 22.5rem;
|
||||
.el-tree {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<div class="upload-content pa-20">
|
||||
<div v-if="upload_type !== 'icon'" class="flex-row">
|
||||
<div v-if="upload_type !== 'icon'" class="flex-row gap-40">
|
||||
<div class="left-content">
|
||||
<div class="flex-row align-c gap-10 mb-10">
|
||||
<el-input v-model="search_filter" placeholder="请输入分类名称">
|
||||
|
|
@ -297,7 +297,7 @@ watch(
|
|||
get_tree();
|
||||
// 获取附件列表
|
||||
get_attachment_list();
|
||||
|
||||
|
||||
icon_index.value = -1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
import defaultCommon from './index';
|
||||
import { online_url } from '@/utils';
|
||||
|
||||
const new_url = online_url();
|
||||
|
||||
const new_url = await online_url();
|
||||
interface DefaultFooterNav {
|
||||
content: {
|
||||
nav_style: string;
|
||||
|
|
|
|||
|
|
@ -329,6 +329,6 @@ export const online_url = async () => {
|
|||
let temp_data = await import(import.meta.env.VITE_APP_BASE_API == '/dev-api' ? '../../temp.d' : '../../temp_pro.d');
|
||||
return temp_data.default.temp_attachment_host + '/static/app/tabbar/';
|
||||
} else {
|
||||
return (await get_cookie('temp_attachment_host')) + '/static/app/tabbar/';
|
||||
return get_cookie('attachment_host') + '/static/app/tabbar/';
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
|||
|
||||
// 构建配置
|
||||
build: {
|
||||
target: 'esnext',
|
||||
// 打包不压缩图片为base64
|
||||
assetsInlineLimit: 0,
|
||||
// 混淆器设置
|
||||
|
|
|
|||
Loading…
Reference in New Issue