hylid-bridge 2.12.0-alpha.7 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.12.0] (2023-07-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* 修改 navigateBack 调用 popWindow
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [2.12.0-alpha.7] (2023-07-25)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -1,32 +1,8 @@
|
|
|
1
|
-
var __assign = this && this.__assign || function () {
|
|
2
|
-
__assign = Object.assign || function (t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
-
}
|
|
7
|
-
return t;
|
|
8
|
-
};
|
|
9
|
-
return __assign.apply(this, arguments);
|
|
10
|
-
};
|
|
11
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
12
|
-
var t = {};
|
|
13
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
14
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
15
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
16
|
-
}
|
|
17
|
-
return t;
|
|
18
|
-
};
|
|
19
1
|
import call from "../../../call";
|
|
20
2
|
var navigateBack = function navigateBack(options) {
|
|
21
|
-
var _a = options || {},
|
|
22
|
-
_b = _a.delta,
|
|
23
|
-
delta = _b === void 0 ? 1 : _b,
|
|
24
|
-
rest = __rest(_a, ["delta"]);
|
|
25
3
|
// @ts-ignore
|
|
26
|
-
call('
|
|
27
|
-
|
|
28
|
-
}, rest), {
|
|
29
|
-
originOptions: options
|
|
4
|
+
call('popWindow', {
|
|
5
|
+
options: options
|
|
30
6
|
});
|
|
31
7
|
};
|
|
32
8
|
export default navigateBack;
|