Files
App.k12.Parents/uni_modules/uts-openSchema/utssdk/web/index.uts
T
2026-10-29 10:08:39 +08:00

13 lines
287 B
Plaintext

import { OpenSchema, CanOpenURL } from '../interface.uts'
export const openSchema : OpenSchema = function (url : string) : void {
location.href = url
}
export const canOpenURL : CanOpenURL = function (url : string) : boolean {
if (url != '') {
return true
}
return false
}