From 1f2f5a0ed17bbe3445104a1c707981eefed06fad Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 22 Feb 2021 10:56:43 +0800 Subject: [PATCH] APP通讯初始化,第一步 --- common/Tools.js | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/common/Tools.js b/common/Tools.js index b1c436c..0c4fb41 100644 --- a/common/Tools.js +++ b/common/Tools.js @@ -5,7 +5,6 @@ import moment from 'moment'; import Taro from '@tarojs/taro'; -import { $ } from '@tarojs/extend'; export class Tools { @@ -20,21 +19,6 @@ mask: true, duration: 2000, }); - } - - /** - * 锁定页面 - * @param type - lock / unlock - */ - static lockScreen(type) { - if (typeof Tools.$lock) { - Tools.$lock = $('#lock'); - } - if (type === 'lock') { - Tools.$lock.show(); - } else if (type === 'unlock') { - Tools.$lock.hide(); - } } /** -- Gitblit v1.9.1