Kaynağa Gözat

[Pref 0000] 去除部分控制台日志

houzekong 4 ay önce
ebeveyn
işleme
29aef7c9d2

+ 0 - 1
src/components/Markdown/src/Markdown.vue

@@ -24,7 +24,6 @@
     },
     emits: ['change', 'get', 'update:value'],
     setup(props, { attrs, emit }) {
-      console.log('---Markdown---初始化---');
       const wrapRef = ref<ElRef>(null);
       const vditorRef = ref(null) as Ref<Nullable<Vditor>>;
       const initedRef = ref(false);

+ 0 - 1
src/components/SimpleMenu/src/components/MenuItem.vue

@@ -107,7 +107,6 @@
 
       // 代码逻辑说明: VUEN-1144 online 配置成菜单后,打开菜单,显示名称未展示为菜单名称
       function storePathTitle(path) {
-        console.log('storePathTitle', path);
         let title = '';
         if (instance!.attrs) {
           let item: any = instance!.attrs.item;

+ 0 - 2
src/components/Tinymce/src/Editor.vue

@@ -109,8 +109,6 @@
     props: tinymceProps as any,
     emits: ['change', 'update:modelValue', 'inited', 'init-error'],
     setup(props, { emit, attrs }) {
-      console.log('---Tinymce---初始化---');
-
       const editorRef = ref<Nullable<any>>(null);
       const fullscreen = ref(false);
       const tinymceId = ref<string>(buildShortUUID('tiny-vue'));

+ 5 - 6
src/components/registerGlobComp.ts

@@ -2,7 +2,7 @@ import type { App } from 'vue';
 import { Icon } from './Icon';
 import AIcon from '/@/components/jeecg/AIcon.vue';
 //Tinymce富文本
- import Editor from '/@/components/Tinymce/src/Editor.vue'
+import Editor from '/@/components/Tinymce/src/Editor.vue';
 
 import { Button, JUploadButton } from './Button';
 
@@ -57,16 +57,15 @@ import {
   Skeleton,
   Cascader,
   Rate,
-  Progress
+  Progress,
 } from 'ant-design-vue';
 const compList = [AntButton.Group, Icon, AIcon, JUploadButton];
 
-
 export function registerGlobComp(app: App) {
   compList.forEach((comp) => {
     app.component(comp.name || comp.displayName, comp);
   });
-  
+
   //仪表盘依赖Tinymce,需要提前加载(没办法按需加载了)
   app.component(Editor.name, Editor);
   // 代码逻辑说明: Tinymce异步加载
@@ -76,7 +75,8 @@ export function registerGlobComp(app: App) {
   //     loading: true,
   //   })
   // );
-  app.use(Select)
+  app
+    .use(Select)
     .use(Alert)
     .use(Button)
     .use(Breadcrumb)
@@ -125,5 +125,4 @@ export function registerGlobComp(app: App) {
     .use(Cascader)
     .use(Rate)
     .use(Progress);
-    console.log("---初始化---, 全局注册Antd、仪表盘、流程设计器、online、流程等组件--------------")
 }

+ 0 - 1
src/store/modules/permission.ts

@@ -206,7 +206,6 @@ export const usePermissionStore = defineStore({
 
         // 后台菜单构建
         case PermissionModeEnum.BACK:
-          console.log(' --- 构建后台路由菜单 --- ');
           // 菜单加载提示
           // createMessage.loading({
           //   content: t('sys.app.menuLoading'),