Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
This project
Loading...
Sign in
Toggle navigation
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
2501d28b
authored
Jan 24, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
2523c261
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
pages/tag/print.vue
pages/tag/print.vue
View file @
2501d28b
...
...
@@ -212,7 +212,7 @@
that
.
getBLEDeviceCharacteristics
();
}
});
},
0
);
},
100
0
);
}
});
},
...
...
@@ -296,15 +296,9 @@
console
.
log
(
'writeBLECharacteristicValue success'
,
res
.
errMsg
)
that
.
print_number
++
;
if
(
that
.
print_number
<
that
.
printLabelData
.
length
)
{
uni
.
closeBLEConnection
({
deviceId
:
that
.
deviceId
,
success
(
res
)
{
console
.
log
(
res
)
setTimeout
(
function
()
{
that
.
openBluetoothAdapter
();
},
0
);
}
})
setTimeout
(
function
()
{
that
.
sendDataChange
();
},
100
);
}
else
{
uni
.
hideLoading
();
uni
.
closeBLEConnection
({
...
...
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