【RuoYi Mobile】Use storage to realize local storage

1. Storage

	// 引入本地存储工具方法
	import storage from '@/utils/storage' 
    
    // storage.set('键值名称', "值", 保存过期时间);
    storage.set('csj', "8384250", 86400);

Two, read

storage.get('SYSTEM_INFO')

storage.get('SYSTEM_INFO')

Guess you like

Origin blog.csdn.net/dxnn520/article/details/132482898