style: 移除无用console输出

This commit is contained in:
TsMask
2024-06-19 14:51:28 +08:00
parent 374a9bde7e
commit 0955a79965
9 changed files with 21 additions and 27 deletions

View File

@@ -301,7 +301,6 @@ function fnModalVisibleByVive(row: Record<string, string>) {
* @param dictCode 数据编号id, 不传为新增
*/
function fnModalVisibleByEdit(dictCode?: string | number, record?: any) {
console.log(record);
if (!dictCode) {
modalStateFrom.resetFields();
modalState.from.dictType = queryParams.dictType;

View File

@@ -117,7 +117,6 @@ function fnSaveAcount() {
// 发送保存
state.confirmLoading = true;
bootloaderAccount(state.username, state.password).then(res => {
console.log(res);
if (res.code === RESULT_CODE_SUCCESS) {
message.success(t('common.operateOk'));
} else {
@@ -158,7 +157,6 @@ function fnSaveSystem() {
// 发送保存
state.confirmLoading = true;
Promise.all(reqArr).then(resArr => {
console.log(resArr);
message.success(t('views.system.quickStart.sysSaveOk'));
state.confirmLoading = false;
});
@@ -206,7 +204,6 @@ function fnCheckAppNameOverflow() {
if (!container) return;
const text: HTMLDivElement | null = container.querySelector('.marquee');
if (!text) return;
console.log(text.offsetWidth, container.offsetWidth);
if (text.offsetWidth > container.offsetWidth) {
text.classList.add('app-name_scrollable');
} else {

View File

@@ -28,7 +28,6 @@ let state: StateType = reactive({
/**上传前检查或转换压缩 */
function fnBeforeUpload(file: FileType) {
console.log(file.type);
if (state.loading) return false;
const isType = ['application/pdf'].includes(file.type);
if (!isType) {