uni-app

※前提条件:vue3 的uniapp开发

使用方法 [edit]

保存 [edit]

let items = JSON.stringify(数组或者对象);
uni.setStorageSync("wqzdy" , items);

取出

var data = uni.getStorageSync("wqzdy" );
var items = JSON.parse(data)

uni.navigateTo传递数组对象 [edit]

let items = JSON.stringify(item)
uni.navigateTo({
    url: '../order/refundMoney/refundMoney?item=' + items
})

取出

onLoad(e) { 
    this.item = JSON.parse(e.item)  
},

Comment:



(画像の文字列を入力して下さい)

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS