@@ -23,7 +23,7 @@ module.exports = options => {
*/
return function* contractCheck(next) {
try {
- if (!this.subProject.page_show.openContract) {
+ if (!this.subProject.page_show.openContract && !this.subProject.page_show.openTenderContract) {
throw '该功能已关闭或无法查看';
}
const tid = this.params.tid || null;