style: 移除无用console输出
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user