Sfoglia il codice sorgente

禁止一些打印日志的功能

dongjh 5 mesi fa
parent
commit
5cd75ba018

+ 1 - 1
src/components/jeecg/JFormContainer.vue

@@ -30,7 +30,7 @@
       }
     },
     mounted(){
-      console.log("我是表单禁用专用组件,但是我并不支持表单中iframe的内容禁用")
+      // console.log("我是表单禁用专用组件,但是我并不支持表单中iframe的内容禁用")
     }
   }
 </script>

+ 1 - 1
src/components/layouts/RouteView.vue

@@ -17,7 +17,7 @@
       //update-begin--Author:scott  Date:20201015 for:路由缓存问题,关闭了tab页时再打开就不刷新 #842
       includedComponents() {
         const includedRouters = Vue.ls.get(CACHE_INCLUDED_ROUTES)
-        console.log("includedRouters:" + includedRouters)
+        // console.log("includedRouters:" + includedRouters)
 
         //如果是缓存路由,则加入到 cache_included_routes
         if (this.$route.meta.keepAlive && this.$route.meta.componentName) {

+ 1 - 1
src/main.js

@@ -12,7 +12,7 @@ require('@jeecg/antd-online-mini')
 require('@jeecg/antd-online-mini/dist/OnlineForm.css')
 
 import Antd, { version } from 'ant-design-vue'
-console.log('ant-design-vue version:', version)
+// console.log('ant-design-vue version:', version)
 
 import Viser from 'viser-vue'
 import 'ant-design-vue/dist/antd.less';  // or 'ant-design-vue/dist/antd.less'

+ 2 - 2
src/mixins/JeecgListMixin.js

@@ -53,7 +53,7 @@ export const JeecgListMixin = {
   },
   created() {
       if(!this.disableMixinCreated){
-        console.log(' -- mixin created -- ')
+        // console.log(' -- mixin created -- ')
         this.loadData();
         //初始化字典配置 在自己页面定义
         this.initDictConfig();
@@ -101,7 +101,7 @@ export const JeecgListMixin = {
       })
     },
     initDictConfig(){
-      console.log("--这是一个假的方法!")
+      // console.log("--这是一个假的方法!")
     },
     handleSuperQuery(params, matchType) {
       //高级查询方法

+ 1 - 1
src/utils/filter.js

@@ -22,7 +22,7 @@ Vue.filter('ellipsis', function (value, vlength = 25) {
   if(!value){
     return "";
   }
-  console.log('vlength: '+ vlength);
+  // console.log('vlength: '+ vlength);
   if (value.length > vlength) {
     return value.slice(0, vlength) + '...'
   }