1. 首页
  2. 存储
  3. IBM
  4. angular.JS实现网页禁用调试、复制和剪切

angular.JS实现网页禁用调试、复制和剪切

上传者: 2020-12-06 22:43:45上传 PDF文件 30KB 热度 9次
一、angular根据环境配置禁用调试: // Disable debug data for production environment // @link https://docs.angularjs.org/guide/production $compileProvider.debugInfoEnabled( app.applicationEnvironment !== 'production'); $logProvider.debugEnabled( app.applicationEnvironment !== 'production'); 上面就是根据当前的环境是不是生产环境,来禁用
下载地址
用户评论