iT邦幫忙

0

app inventor 2 tinyDB 資料庫標籤問題

我提供了下面兩個app的apk檔和aia檔,希望有高手能幫我解決/images/emoticon/emoticon02.gif
https://drive.google.com/drive/folders/1L4sgOirlZ_wcdXpvUSRosEtC_JEWhWIq?usp=sharing

我最近在網路上找到一個APP資料庫的範例
https://ithelp.ithome.com.tw/upload/images/20210530/20136330wo1rihExhV.png
當它記錄數據得時候所使用的標籤的字是數字(例如1、2、3、4這樣)
https://ithelp.ithome.com.tw/upload/images/20210530/201363301cD0R2awUr.png
讀取資料後的樣子
https://ithelp.ithome.com.tw/upload/images/20210530/20136330Sm9JwaM69H.png

但我希望記錄數據得時候所使用的標籤是當下的時間(例如17:05:22)
以下是我改寫的程式(增加了一個計時器)
https://ithelp.ithome.com.tw/upload/images/20210530/20136330c75NTky8Tn.png

標籤呈現的方式變這樣
https://ithelp.ithome.com.tw/upload/images/20210530/20136330KBCfZDAgLg.png
但是這樣子卻出現了問題,讀取資料後會呈現(無資料)
https://ithelp.ithome.com.tw/upload/images/20210530/20136330qhu1bxz2uG.png

請問有人知道是什麼問題嗎? 我嘗試了一些方式也還是沒有解決 希望有高手幫助

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
史帝夫
iT邦新手 3 級 ‧ 2021-05-31 10:07:27
最佳解答

把你的選中項索引(SelectionIndex)改成選中項(Selection)再試試吧

我要發表回答

立即登入回答