From 49f11d494506134ee245643df33cc45d14e0008c Mon Sep 17 00:00:00 2001 From: jaywcjlove Date: Sat, 1 Aug 2020 11:49:14 +0000 Subject: [PATCH] Automated deployment: Sat Aug 1 11:49:14 UTC 2020 ae9cf92755065fc5e1aebb749713988aaad0c0f3 --- assets/js/search.json | 2 +- globals.html | 56 ++++++++++++++++++++++++++++++++++++++++++- index.html | 7 ++++++ 3 files changed, 63 insertions(+), 2 deletions(-) diff --git a/assets/js/search.json b/assets/js/search.json index 6f24ebe..f679582 100644 --- a/assets/js/search.json +++ b/assets/js/search.json @@ -1 +1 @@ -{"kinds":{"64":"Function"},"rows":[{"id":0,"kind":64,"name":"registerApp","url":"globals.html#registerapp","classes":"tsd-kind-function"}],"index":{"version":"2.3.8","fields":["name","parent"],"fieldVectors":[["name/0",[0,2.877]],["parent/0",[]]],"invertedIndex":[["registerapp",{"_index":0,"name":{"0":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file +{"kinds":{"64":"Function"},"rows":[{"id":0,"kind":64,"name":"registerApp","url":"globals.html#registerapp","classes":"tsd-kind-function"},{"id":1,"kind":64,"name":"isWXAppInstalled","url":"globals.html#iswxappinstalled","classes":"tsd-kind-function"},{"id":2,"kind":64,"name":"isWXAppSupportApi","url":"globals.html#iswxappsupportapi","classes":"tsd-kind-function"}],"index":{"version":"2.3.8","fields":["name","parent"],"fieldVectors":[["name/0",[0,9.808]],["parent/0",[]],["name/1",[1,9.808]],["parent/1",[]],["name/2",[2,9.808]],["parent/2",[]]],"invertedIndex":[["iswxappinstalled",{"_index":1,"name":{"1":{}},"parent":{}}],["iswxappsupportapi",{"_index":2,"name":{"2":{}},"parent":{}}],["registerapp",{"_index":0,"name":{"0":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file diff --git a/globals.html b/globals.html index 45d61a9..31c90c4 100644 --- a/globals.html +++ b/globals.html @@ -68,6 +68,8 @@

Functions

@@ -76,6 +78,52 @@

Functions

+
+ +

isWXAppInstalled

+
    +
  • isWXAppInstalled(): Promise<Boolean>
  • +
+
    +
  • + +
    +
    +

    检查微信是否已被用户安装 + 微信已安装返回 true,未安装返回 false

    +
    +
    +

    Returns Promise<Boolean>

    +
  • +
+
+
+ +

isWXAppSupportApi

+
    +
  • isWXAppSupportApi(): Promise<Boolean>
  • +
+
    +
  • + +
    +
    +

    判断当前微信的版本是否支持 OpenApi + 支持返回 true,不支持返回 false

    +
    +
    +

    Returns Promise<Boolean>

    +
  • +
+

registerApp

@@ -86,7 +134,7 @@
  • @@ -125,6 +173,12 @@