<script type="text/javascript" src="/storage-util/index.js">
require(['storage-util'], function(storageUtil){
//storage方法操作
})
import storageUtil from 'storage-util';
npm install 'storage-util';
/**
* @param name {String} storage名
* @param value {String} storage值
*/
storage.setLocal(name, value);
/**
* @param name {String} storage名称
*/
storage.getLocal(name)
/**
* @param name {String} storage名称
*/
storage.remove(name)
storage.clear();