Comparing version
@@ -94,3 +94,6 @@ "use strict"; | ||
} | ||
open() { | ||
clickgo.core.open('https://www.maiyun.net'); | ||
} | ||
} | ||
exports.default = default_1; |
@@ -27,3 +27,3 @@ "use strict"; | ||
exports.zip = exports.tool = exports.theme = exports.task = exports.storage = exports.native = exports.fs = exports.form = exports.dom = exports.core = exports.control = exports.vue = exports.hasFrame = exports.isImmersion = exports.getPlatform = exports.isNative = exports.getVersion = void 0; | ||
const version = '3.8.1'; | ||
const version = '3.8.2'; | ||
function getVersion() { | ||
@@ -30,0 +30,0 @@ return version; |
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
const version = '3.8.1'; | ||
const version = '3.8.2'; | ||
export function getVersion(): string { | ||
@@ -19,0 +19,0 @@ return version; |
@@ -35,3 +35,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.back = exports.getLocation = exports.location = exports.getHost = exports.getHash = exports.hash = exports.getAvailArea = exports.fetchApp = exports.readApp = exports.trigger = exports.getModule = exports.regModule = exports.boot = exports.getCdn = exports.AbstractApp = exports.config = void 0; | ||
exports.open = exports.back = exports.getLocation = exports.location = exports.getHost = exports.getHash = exports.hash = exports.getAvailArea = exports.fetchApp = exports.readApp = exports.trigger = exports.getModule = exports.regModule = exports.boot = exports.getCdn = exports.AbstractApp = exports.config = void 0; | ||
const clickgo = __importStar(require("../clickgo")); | ||
@@ -853,4 +853,8 @@ const fs = __importStar(require("./fs")); | ||
exports.back = back; | ||
function open(url) { | ||
window.open(url); | ||
} | ||
exports.open = open; | ||
window.addEventListener('hashchange', function () { | ||
trigger('hashChanged', window.location.hash ? decodeURIComponent(window.location.hash.slice(1)) : ''); | ||
}); |
@@ -980,4 +980,12 @@ /** | ||
/** | ||
* --- 打开新的标签页 | ||
* @param url 要访问的网址 | ||
*/ | ||
export function open(url: string): void { | ||
window.open(url); | ||
} | ||
window.addEventListener('hashchange', function() { | ||
trigger('hashChanged', window.location.hash ? decodeURIComponent(window.location.hash.slice(1)) : ''); | ||
}); |
{ | ||
"name": "clickgo", | ||
"version": "3.8.1", | ||
"version": "3.8.2", | ||
"description": "Background interface, software interface, mobile phone APP interface operation library.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -31,3 +31,3 @@ # ClickGo | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.0/dist/loader.min.js?path=index&npm={'clickgo':'3.8.1'}"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.0/dist/loader.min.js?path=index&npm={'clickgo':'3.8.2'}"></script> | ||
``` | ||
@@ -133,3 +133,3 @@ | ||
[Folder SVG Vector](https://www.svgrepo.com/svg/474852/folder) | ||
[Folder SVG Vector](https://www.svgrepo.com/svg/474852/folder) | ||
[File SVG Vector](https://www.svgrepo.com/svg/474842/file) | ||
@@ -141,3 +141,3 @@ | ||
[Bold SVG Vector](https://www.svgrepo.com/svg/501109/bold) | ||
[Bold SVG Vector](https://www.svgrepo.com/svg/501109/bold) | ||
[Italic SVG Vector](https://www.svgrepo.com/svg/501238/italic) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1975234
0.03%29697
0.07%