style: 移除非error级别console

This commit is contained in:
TsMask
2023-10-11 17:31:38 +08:00
parent 9cf276a7f9
commit eaba814cd2
7 changed files with 22 additions and 40 deletions

View File

@@ -350,7 +350,6 @@ function arrayEditOk() {
function arrayDelete(row: Record<string, any>) {
const from = toRaw(row);
const loc = from['index']['value'];
console.log(from, loc);
Modal.confirm({
title: '提示',
@@ -564,7 +563,6 @@ function arrayChildExpand(key: Record<string, any>, row: Record<string, any>) {
}
dataArray.push(record);
}
// console.log(dataArray);
tableState.arrayChildData = dataArray;
// 无数据时,需要临时数据用于新增
@@ -585,7 +583,6 @@ function arrayChildExpand(key: Record<string, any>, row: Record<string, any>) {
align: 'left',
});
}
// console.log(columns);
tableState.arrayChildColumns = columns;
tableState.arrayChildColumns.push({
title: t('common.operate'),
@@ -698,7 +695,6 @@ function arrayChildEditOk() {
function arrayChildDelete(row: Record<string, any>) {
const from = toRaw(row);
const loc = `${tableState.arrayChildLoc}/${from['index']['value']}`;
console.log(from, loc);
Modal.confirm({
title: '提示',
@@ -819,7 +815,6 @@ function arrayChildAddOk() {
const from = toRaw(tableState.arrayChildEditRecord);
const loc = `${tableState.arrayChildLoc}/${from['index']['value']}`;
const neType = neTypeSelect.value[0];
console.log(from, loc);
let data: Record<string, any> = {};
for (const key in from) {
@@ -978,7 +973,6 @@ function ruleVerification(row: Record<string, any>): (string | boolean)[] {
break;
default:
console.warn('未知类型', type);
return [false, `${display} 输入值是未知类型`];
}
return result;