Merge branch 'main' of http://192.168.2.166:3180/OMC/ems_frontend_vue3
This commit is contained in:
@@ -11,7 +11,7 @@ VITE_APP_NAME = "核心网管理平台"
|
|||||||
VITE_APP_CODE = "CoreNet"
|
VITE_APP_CODE = "CoreNet"
|
||||||
|
|
||||||
# 应用版本
|
# 应用版本
|
||||||
VITE_APP_VERSION = "2.2311.7.1106"
|
VITE_APP_VERSION = "2.231106.7"
|
||||||
|
|
||||||
# 接口基础URL地址-不带/后缀
|
# 接口基础URL地址-不带/后缀
|
||||||
VITE_API_BASE_URL = "/omc-api"
|
VITE_API_BASE_URL = "/omc-api"
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ document.addEventListener('visibilitychange', function () {
|
|||||||
</template>
|
</template>
|
||||||
<template v-if="appStore.logoType === 'brand'">
|
<template v-if="appStore.logoType === 'brand'">
|
||||||
<img
|
<img
|
||||||
:class="{ 'logo-brand': proConfig.layout !== 'side' }"
|
class="logo-brand"
|
||||||
:src="appStore.getLOGOBrand"
|
:src="appStore.getLOGOBrand"
|
||||||
:alt="appStore.appName"
|
:alt="appStore.appName"
|
||||||
:title="appStore.appName"
|
:title="appStore.appName"
|
||||||
|
|||||||
@@ -83,6 +83,8 @@ function fnTabActiveTopTag(key: string | number) {
|
|||||||
.finally(() => {
|
.finally(() => {
|
||||||
tableState.arrayNewIndex = -1;
|
tableState.arrayNewIndex = -1;
|
||||||
tableState.editRecord = {};
|
tableState.editRecord = {};
|
||||||
|
tableState.arrayChildNewIndex = -1;
|
||||||
|
tableState.arrayChildEditRecord = {};
|
||||||
tableState.loading = false;
|
tableState.loading = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,11 +38,11 @@ function fnBeforeUpload(file: FileType) {
|
|||||||
if (!isJpgOrPng) {
|
if (!isJpgOrPng) {
|
||||||
message.error('只支持上传图片格式(jpg、png、svg、webp)', 3);
|
message.error('只支持上传图片格式(jpg、png、svg、webp)', 3);
|
||||||
}
|
}
|
||||||
const isLt2M = file.size / 1024 / 1024 < 2;
|
const isLt10M = file.size / 1024 / 1024 < 10;
|
||||||
if (!isLt2M) {
|
if (!isLt10M) {
|
||||||
message.error('图片文件大小必须小于 2MB', 3);
|
message.error('图片文件大小必须小于 10MB', 3);
|
||||||
}
|
}
|
||||||
return isJpgOrPng && isLt2M;
|
return isJpgOrPng && isLt10M;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**上传变更 */
|
/**上传变更 */
|
||||||
|
|||||||
Reference in New Issue
Block a user