From e3f77112f09d8709cd9cfeb70e173a45eeb851c8 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Thu, 5 Jan 2023 17:24:18 +0800 Subject: [PATCH] init --- .hbuilderx/launch.json | 16 ++++++++++++++++ pages/scan/index.vue | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .hbuilderx/launch.json 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)