Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
7a33d0dd
Commit
7a33d0dd
authored
Jun 08, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化导出append方法
parent
99a3448c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Exporter.php
src/Tools/Exporter.php
+2
-2
No files found.
src/Tools/Exporter.php
View file @
7a33d0dd
...
...
@@ -237,7 +237,7 @@ class Exporter
if
(
isset
(
$data
[
$v
]))
{
$result
[]
=
$data
[
$v
];
}
else
{
new
\Exception
(
"key为
{
$v
}
的数据不存在"
)
;
$result
[]
=
''
;
}
}
else
{
$separate
=
explode
(
"|"
,
$v
);
...
...
@@ -246,7 +246,7 @@ class Exporter
$t
=
count
(
$list
)
-
1
;
$b
=
$data
;
foreach
(
$list
as
$lk
=>
$lv
)
{
if
(
isset
(
$b
[
$lv
]))
{
if
(
isset
(
$b
[
$lv
])
&&
$b
[
$lv
]
)
{
$b
=
$b
[
$lv
];
}
else
{
$b
=
""
;
...
...
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