Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
5b44b144
Commit
5b44b144
authored
Jul 22, 2021
by
zL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boe相关修改
parent
90846532
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
AddChildDialog.vue
src/components/editTemplate/AddChildDialog.vue
+9
-9
UrlPrefix.js
src/config/UrlPrefix.js
+1
-1
Template.ts
src/plugins/Template.ts
+3
-3
No files found.
src/components/editTemplate/AddChildDialog.vue
View file @
5b44b144
...
@@ -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: #5779F
4;
background: #5779f
4;
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 {
// }
// }
}
}
...
...
src/config/UrlPrefix.js
View file @
5b44b144
...
@@ -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:467
89
'
,
INERFACE_URL_PREFIX
:
'http://124.70.129.56:467
90
'
,
INDEX
:
{
INDEX
:
{
entry
:
'./src/entry/boe/main.ts'
,
entry
:
'./src/entry/boe/main.ts'
,
template
:
'./public/boe/index.html'
,
template
:
'./public/boe/index.html'
,
...
...
src/plugins/Template.ts
View file @
5b44b144
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment