Browse Source

role selection

albertshaw 8 years ago
parent
commit
7232c509b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/component/manageCenter/set/modal.jsx

+ 1 - 1
js/component/manageCenter/set/modal.jsx

@@ -97,7 +97,7 @@ export default class TheModal extends React.Component {
     }
 
     getRolesSelection() {
-        if (this.state.id > 1) {
+        if (this.state.id != '1') {
             return <li>
                 <span className='modal-text'>角色</span>
                 <Select