1
0
forked from dyf/APP

调整一下底部小样式

This commit is contained in:
liub
2026-01-30 11:51:29 +08:00
parent 23fe40902b
commit 5399ecf359
9 changed files with 37 additions and 29 deletions

View File

@ -775,7 +775,7 @@ class BleHelper {
str: str,
hexs: hexs
};
// console.log("监听到特征值:" + JSON.stringify(recData));
console.log("监听到特征值:" + JSON.stringify(recData));
if (this.cfg.receivDataCallback) {
if (this.cfg.receivDataCallback.length > 0) {

View File

@ -48,8 +48,11 @@ const request = (options) => {
reject(err);
}
};
if (!options.url.includes('/login')) {
//是否添加身份验证undefined时默认需要
if(options.isAuthen===undefined){
options.isAuthen=true;
}
if (options.isAuthen) {
const token = uni.getStorageSync('token');
const clientid = uni.getStorageSync('clientID');
if (token) {