diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index c7bd7d307..8a5a48004 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -29,7 +29,7 @@ if (isDev) { } debugType = window.location.search.indexOf('debug=t') != -1 ? 'teacher' : window.location.search.indexOf('debug=s') != -1 ? 'student' : - window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin' + window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || '' } window._debugType = debugType; export function initAxiosInterceptors(props) { diff --git a/public/react/src/modules/moop_cases/CaseItem.js b/public/react/src/modules/moop_cases/CaseItem.js index 6c27587ec..dc97cb62a 100644 --- a/public/react/src/modules/moop_cases/CaseItem.js +++ b/public/react/src/modules/moop_cases/CaseItem.js @@ -32,15 +32,15 @@ class CaseItem extends Component{ { item.visited_count && item.visited_count != 0 ? - {item.visited_count} 浏览:"" + {item.visited_count} 浏览:"" } { item.praise_count && item.praise_count != 0 ? - {item.praise_count} 赞:"" + {item.praise_count} 赞:"" } { item.download_count && item.download_count != 0 ? - {item.download_count} 下载:"" + {item.download_count} 下载:"" }
diff --git a/public/react/src/modules/moop_cases/CaseNew.js b/public/react/src/modules/moop_cases/CaseNew.js index da6ccd28e..d6b1e6f0d 100644 --- a/public/react/src/modules/moop_cases/CaseNew.js +++ b/public/react/src/modules/moop_cases/CaseNew.js @@ -436,7 +436,7 @@ class CaseNew extends Component{