Browse Source

关闭模板缓存

MaiXinRong 6 years ago
parent
commit
e9625d7655
1 changed files with 1 additions and 0 deletions
  1. 1 0
      config/config.default.js

+ 1 - 0
config/config.default.js

@@ -48,6 +48,7 @@ module.exports = appInfo => {
         root: [
         root: [
             path.join(appInfo.baseDir, 'app/view'),
             path.join(appInfo.baseDir, 'app/view'),
         ].join(','),
         ].join(','),
+        cache: false,
     };
     };
 
 
     // 分页相关
     // 分页相关