How can I fix localStorage error in sapper/svelte

后端 未结 0 507
渐次进展
渐次进展 2021-01-06 15:46
import { writable } from \'svelte/store\';

/** Read the current token from LocalStorage on boot */
const token = writable(localStorage.getItem(\'token\'));
/** Stor         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题