0
同步功能我已經保存一些數據存儲在離子2.我可以創建在角2
import { Storage } from '@ionic/storage';
... ... ...
constructer(public storage: Storage){}
this.storage.set('usertype', usertype);
現在我要創建從存儲中獲取數據。 程序邏輯必須是在存儲中使用創建的函數獲取數據後執行下一個函數。 如何創建Get函數或構建程序邏輯?