调整配置及代码,使用新的 aar 包

This commit is contained in:
2025-02-07 16:32:35 +08:00
parent 1d0bcb1ed8
commit c6061b31b3
2 changed files with 3 additions and 3 deletions

View File

@@ -2,8 +2,8 @@
"name" : "EWG01PDemo",
"appid" : "__UNI__3095C70",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"versionName" : "1.0.1",
"versionCode" : 101,
"transformPx" : false,
/* 5+App */
"app-plus" : {

View File

@@ -265,7 +265,7 @@
this.r.wave = null;
console.log('开始测振');
// 0 --加速度 1--速度 2--位移
Ewg.collectVib(1, true, (res) => { // 注意:只有带波形时才会把在个值都返回
Ewg.collectVib(1, "5120", "2048", true, (res) => { // 注意:只有带波形时才会把在个值都返回
this.stop();
if (res.result == 0) {
vibData.velocity = res.speedValue;