web:
localstorage . setItem ( "key" , "value")
localStorage . getItem( "key")
小程序中:
wx . setStorageSync("key", "value");
wx. getStprageSync ("key" );
小程序本地存储与H5的区别
最新推荐文章于 2022-11-09 17:27:46 发布
web:
localstorage . setItem ( "key" , "value")
localStorage . getItem( "key")
小程序中:
wx . setStorageSync("key", "value");
wx. getStprageSync ("key" );