diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json new file mode 100644 index 0000000..0b0655a --- /dev/null +++ b/.hbuilderx/launch.json @@ -0,0 +1,16 @@ +{ + "version" : "1.0", + "configurations" : [ + { + "playground" : "custom", + "type" : "uni-app:app-android" + }, + { + "app-plus" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" + } + ] +} diff --git a/pages/scan/index.vue b/pages/scan/index.vue index 9325a4f..2174c3d 100644 --- a/pages/scan/index.vue +++ b/pages/scan/index.vue @@ -305,7 +305,8 @@ select * from property where id in (${getSqlIn()}); `) androidModule.showToast(`扫描到:${propertys.length}件资产`) - this.info = propertys + this.info = propertys + if(this.info.length > 0)this.fund = this.info[0] } catch (e) { console.warn('sqlite-err', e); androidModule.showToast(err)