src/tabviews/custom/components/search/main-search/index.jsx
@@ -20,7 +20,6 @@ config: PropTypes.object, // 组件配置信息 mainSearch: PropTypes.any, // 外层搜索条件 menuType: PropTypes.any, // 菜单类型 dataManager: PropTypes.any, // 数据权限 refreshdata: PropTypes.func // 刷新数据 } @@ -71,7 +70,7 @@ if (item.resourceType === '1' && item.dataSource) { let _option = Utils.getSelectQueryOptions(item) if (this.props.dataManager) { // 数据权限 if (sessionStorage.getItem('dataM') === 'true') { // 数据权限 _option.sql = _option.sql.replace(/\$@/ig, '/*') _option.sql = _option.sql.replace(/@\$/ig, '*/') } else {