mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-11-11 21:23:42 +08:00
删除文件 public
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
layui.define(['jquery', 'element'], function(exports) {
|
||||
"use strict";
|
||||
|
||||
var MOD_NAME = 'context',
|
||||
$ = layui.jquery,
|
||||
element = layui.element;
|
||||
|
||||
var context = new function() {
|
||||
|
||||
this.put = function(key,value){
|
||||
localStorage.setItem(key,value);
|
||||
}
|
||||
|
||||
this.get = function(key){
|
||||
return localStorage.getItem(key);
|
||||
}
|
||||
}
|
||||
exports(MOD_NAME, context);
|
||||
});
|
||||
Reference in New Issue
Block a user