Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

孙龙 / note-library

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit a0fd0af1 authored 4 years ago by 孙龙's avatar 孙龙
Browse files
Options
  • _('Browse Files')
  • Download
  • Email Patches
  • Plain Diff

up

parent 42800378
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 7 deletions
  • app/Services/OfflineLabelService.php
  • storage/offline_print/1000.txt
app/Services/OfflineLabelService.php
View file @ a0fd0af1
......@@ -21,13 +21,14 @@ class OfflineLabelService{
foreach($data as $key=>$item){
$item = array_map("trim",$item);
foreach($item as $k=>$vv){
if(in_array($k,[0,1,2,3])){
if($vv == "" || $vv == null){
unset($item);
}
}
}
// foreach($item as $k=>$vv){
// if(in_array($k,[0,1,2,3,4,5,6,7])){
// if($vv == "" || $vv == null){
// unset($item);
// }
// }
// if()
// }
if(isset($item) && !empty($item)){
$arr[] = $item;
}
......
This diff is collapsed. Click to expand it.
storage/offline_print/1000.txt
View file @ a0fd0af1
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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 sign in to comment