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
b40106e8
Commit
b40106e8
authored
Sep 03, 2021
by
wcmoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改文本数组表现形式的保存
parent
06f5a3f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
UrlPrefix.js
src/config/UrlPrefix.js
+0
-2
Template.ts
src/plugins/Template.ts
+6
-6
No files found.
src/config/UrlPrefix.js
View file @
b40106e8
...
@@ -19,8 +19,6 @@ const configModules = {
...
@@ -19,8 +19,6 @@ const configModules = {
"sy_prod"
:
{
"sy_prod"
:
{
// CHAIN_BROWSER_URL_PREFIX: 'https://cx.chain33.pro/',
// CHAIN_BROWSER_URL_PREFIX: 'https://cx.chain33.pro/',
// INERFACE_URL_PREFIX: 'https://sy.chain33.pro/api',
// INERFACE_URL_PREFIX: 'https://sy.chain33.pro/api',
// CHAIN_BROWSER_URL_PREFIX: 'http://172.16.101.87:8995/',
// INERFACE_URL_PREFIX: 'http://172.16.101.87:8994/',
CHAIN_BROWSER_URL_PREFIX
:
'http://121.40.18.70:8995/'
,
CHAIN_BROWSER_URL_PREFIX
:
'http://121.40.18.70:8995/'
,
INERFACE_URL_PREFIX
:
'http://172.16.101.87:46789'
,
INERFACE_URL_PREFIX
:
'http://172.16.101.87:46789'
,
INDEX
:
{
INDEX
:
{
...
...
src/plugins/Template.ts
View file @
b40106e8
...
@@ -197,17 +197,17 @@ function formatProperty2Api(property: Property): TemplateProperty | TmplSelectPr
...
@@ -197,17 +197,17 @@ function formatProperty2Api(property: Property): TemplateProperty | TmplSelectPr
};
};
}
}
else
if
(
property
.
type
===
PropertyType
.
TextArray
)
{
else
if
(
property
.
type
===
PropertyType
.
TextArray
)
{
let
data
=
(
property
.
value
as
[
string
])?.
map
((
item
:
string
)
=>
{
let
data
=
property
.
value
===
''
?
[{
format
:
"string"
,
type
:
"text"
,
value
:
''
}]
:
(
property
.
value
as
[
string
])?.
map
((
item
:
string
)
=>
{
return
{
return
{
format
:
"string"
,
format
:
"string"
,
type
:
"text"
,
type
:
"text"
,
value
:
item
value
:
item
}
}
})
||
[{
});
format
:
"string"
,
type
:
"text"
,
value
:
''
}]
return
{
return
{
key
:
property
.
key
,
key
:
property
.
key
,
type
:
(
property
.
type
as
PropertyType
.
TextArray
),
type
:
(
property
.
type
as
PropertyType
.
TextArray
),
...
...
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