mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-02-01 16:08:17 +00:00
按钮。
This commit is contained in:
parent
5031d76806
commit
40285517f4
@ -10,7 +10,7 @@
|
||||
"is not existed in the scene.": "在场景中不存在。",
|
||||
"No Colors": "无颜色",
|
||||
"Background": "背景",
|
||||
"Add": "相加",
|
||||
"Add": "添加",
|
||||
"PhysicsEnvironment": "物理环境",
|
||||
"Penumbra": "半阴影",
|
||||
"Rotate(E)": "旋转(E)",
|
||||
@ -878,5 +878,7 @@
|
||||
"The system has not been initialized.": "系统尚未被初始化。",
|
||||
"All roles and users will be deleted and the pre-initial state will be restored. Is it reset?": "将删除所有角色和用户,恢复初始化前状态。是否重置?",
|
||||
"Reset successfully!": "重置成功!",
|
||||
"Reset System": "重置系统"
|
||||
"Reset System": "重置系统",
|
||||
"Add together": "相加",
|
||||
"Add Child": "添加子节点"
|
||||
}
|
||||
@ -21,7 +21,7 @@ class HalftoneComponent extends React.Component {
|
||||
this.blendingMode = {
|
||||
1: _t('Linear'),
|
||||
2: _t('Multiply'),
|
||||
3: _t('Add'),
|
||||
3: _t('Add together'),
|
||||
4: _t('Lighter'),
|
||||
5: _t('Darker'),
|
||||
};
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import './css/DepartmentManagementWindow.css';
|
||||
import { Window, Content, Toolbar, Button, DataGrid, Column, ToolbarFiller, SearchField, HBoxLayout, Form, FormControl, Label, CheckBox } from '../../third_party';
|
||||
import { Window, Content, Toolbar, Button, DataGrid, Column, ToolbarFiller, SearchField, HBoxLayout, Tree } from '../../third_party';
|
||||
|
||||
/**
|
||||
* 组织机构管理窗口
|
||||
@ -32,10 +32,13 @@ class DepartmentManagementWindow extends React.Component {
|
||||
style={{ width: '600px', height: '400px' }}
|
||||
mask={false}
|
||||
onClose={this.handleClose}
|
||||
>
|
||||
>
|
||||
<Content>
|
||||
<Toolbar>
|
||||
<Button onClick={this.handleSave}>{_t('Save')}</Button>
|
||||
<Button>{_t('Add')}</Button>
|
||||
<Button>{_t('Add Child')}</Button>
|
||||
<Button>{_t('Edit')}</Button>
|
||||
<Button>{_t('Delete')}</Button>
|
||||
<ToolbarFiller />
|
||||
</Toolbar>
|
||||
<HBoxLayout className={'hbox'}>
|
||||
@ -126,8 +129,8 @@ class DepartmentManagementWindow extends React.Component {
|
||||
let body = `RoleID=${roleID}`;
|
||||
|
||||
authorities.forEach(n => {
|
||||
if(n.Enabled) {
|
||||
body += `&Authorities[]=${n.ID}`;
|
||||
if (n.Enabled) {
|
||||
body += `&Authorities[]=${n.ID}`;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user