调整配置及代码,使用新的 aar 包
This commit is contained in:
parent
1d0bcb1ed8
commit
c6061b31b3
@ -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" : {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user