From 7bc1efa9fbde69a7e37f459671c42d9650dca747 Mon Sep 17 00:00:00 2001 From: yhy <707259967@qq.com> Date: Tue, 24 Nov 2020 10:06:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E6=96=87=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=8F=96=E5=80=BCfunction=E5=8A=A0=E5=8F=98?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/pear/modules/context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/pear/modules/context.js b/component/pear/modules/context.js index dbb1436..aaaa893 100644 --- a/component/pear/modules/context.js +++ b/component/pear/modules/context.js @@ -14,7 +14,7 @@ layui.define(['jquery', 'element'], function(exports) { localStorage.setItem(key,value); } - this.get = function(){ + this.get = function(key){ return localStorage.getItem(key); } } -- Gitee