Commit 5b44b144 authored by zL's avatar zL

boe相关修改

parent 90846532
...@@ -150,13 +150,13 @@ export default class AddChildDialog extends Vue { ...@@ -150,13 +150,13 @@ export default class AddChildDialog extends Vue {
padding: 34px 50px 63px 50px; padding: 34px 50px 63px 50px;
} }
.g-btn_primary { .g-btn_primary {
border: none; border: none;
background: #5779F4; background: #5779f4;
font-size: 14px; font-size: 14px;
color: #fff; color: #fff;
outline: none; outline: none;
cursor: pointer; cursor: pointer;
border-radius: 8px; border-radius: 8px;
} }
.c-dialog-title { .c-dialog-title {
margin: 0; margin: 0;
...@@ -172,14 +172,14 @@ export default class AddChildDialog extends Vue { ...@@ -172,14 +172,14 @@ export default class AddChildDialog extends Vue {
width: 500px; width: 500px;
height: 44px; height: 44px;
border: 1px solid #e2e2e2; border: 1px solid #e2e2e2;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
background: transparent; background: transparent;
outline: none; outline: none;
// &::placeholder { // &::placeholder {
// } // }
} }
......
...@@ -139,7 +139,7 @@ const configModules = { ...@@ -139,7 +139,7 @@ const configModules = {
// boe>演示环境 // boe>演示环境
"boe_prod": { "boe_prod": {
CHAIN_BROWSER_URL_PREFIX: 'http://124.70.129.56:8995/', CHAIN_BROWSER_URL_PREFIX: 'http://124.70.129.56:8995/',
INERFACE_URL_PREFIX: 'http://124.70.129.56:46789', INERFACE_URL_PREFIX: 'http://124.70.129.56:46790',
INDEX: { INDEX: {
entry: './src/entry/boe/main.ts', entry: './src/entry/boe/main.ts',
template: './public/boe/index.html', template: './public/boe/index.html',
......
...@@ -16,7 +16,7 @@ export function formatApiJson(local: Unit[]): RootUnitType[] { ...@@ -16,7 +16,7 @@ export function formatApiJson(local: Unit[]): RootUnitType[] {
return { return {
data: unit.children.map((item) => formatL2Local2Api(item)), data: unit.children.map((item) => formatL2Local2Api(item)),
type: 3, type: 3,
key:unit.title, key: unit.title,
label: unit.title label: unit.title
}; };
}); });
...@@ -32,7 +32,7 @@ function formatL2Local2Api(localL2: Property | Unit): TemplateProperty | TmplSel ...@@ -32,7 +32,7 @@ function formatL2Local2Api(localL2: Property | Unit): TemplateProperty | TmplSel
return formatProperty2Api(localL2); return formatProperty2Api(localL2);
} else { } else {
console.log(1); console.log(1);
const children = localL2.children as Property[]; const children = localL2.children as Property[];
return { return {
key: '', key: '',
...@@ -106,7 +106,7 @@ function formatProperty2Api(property: Property): TemplateProperty | TmplSelectPr ...@@ -106,7 +106,7 @@ function formatProperty2Api(property: Property): TemplateProperty | TmplSelectPr
}, },
type: PropertyType.Input, type: PropertyType.Input,
// key: property.parent.title === 'ext' ? property.label : property.key, // key: property.parent.title === 'ext' ? property.label : property.key,
key:property.label, key: property.label,
label: property.label label: property.label
}; };
} else if (property.type === PropertyType.Date) { } else if (property.type === PropertyType.Date) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment