Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ETL-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
ETL-admin
Commits
1f348f24
Commit
1f348f24
authored
Jun 15, 2021
by
莫晓莉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
剪切字符串获取字段在末尾追加不覆盖原来已有数据
parent
1c290eb1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
src/views/trans-dialog/cut-string.vue
+3
-1
No files found.
src/views/trans-dialog/cut-string.vue
View file @
1f348f24
...
...
@@ -241,7 +241,8 @@ export default ({
inputOutputFields
(
pamer
).
then
(
res
=>
{
console
.
log
(
'字段'
,
res
);
if
(
par
==
"get"
){
var
newArray
=
[];
// var newArray=[];
var
newArray
=
this
.
tableData
;
res
.
forEach
(
item
=>
{
var
newObj
=
{};
newObj
.
in_stream_name
=
item
.
name
;
...
...
@@ -251,6 +252,7 @@ export default ({
newArray
.
push
(
newObj
);
});
this
.
tableData
=
newArray
;
// this.tableData.concat(newArray);
}
else
{
this
.
fieldsList2
=
res
;
}
...
...
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