From c69e9de072ae76a15664d4903be90730ef97985d Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 24 Feb 2021 16:32:54 +0800 Subject: [PATCH] 实现跨端通讯 --- 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