From 8259bb3008889a439d191e48268d2ac5c1c628d7 Mon Sep 17 00:00:00 2001 From: yanyilin Date: Tue, 21 May 2024 19:45:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85uts-openSchema=E5=9C=A8web?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-openSchema/utssdk/web/index.uts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 uni_modules/uts-openSchema/utssdk/web/index.uts diff --git a/uni_modules/uts-openSchema/utssdk/web/index.uts b/uni_modules/uts-openSchema/utssdk/web/index.uts new file mode 100644 index 00000000..e74c53ce --- /dev/null +++ b/uni_modules/uts-openSchema/utssdk/web/index.uts @@ -0,0 +1,5 @@ +import { OpenSchema } from '../interface.uts' + +export const openSchema: OpenSchema = function(url: string): void { + location.href = url; +} -- GitLab