@ray-js/framework 1.5.0-beta.11 → 1.5.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/lib/api/tabBar.js CHANGED
@@ -5,8 +5,8 @@ export function showTabBar(options) {
5
5
  visible: true,
6
6
  animation: options.animation
7
7
  });
8
- options === null || options === void 0 ? void 0 : (_options$success = options.success) === null || _options$success === void 0 ? void 0 : _options$success.call(options);
9
- options === null || options === void 0 ? void 0 : (_options$complete = options.complete) === null || _options$complete === void 0 ? void 0 : _options$complete.call(options);
8
+ options === null || options === void 0 || (_options$success = options.success) === null || _options$success === void 0 || _options$success.call(options);
9
+ options === null || options === void 0 || (_options$complete = options.complete) === null || _options$complete === void 0 || _options$complete.call(options);
10
10
  }
11
11
  export function hideTabBar(options) {
12
12
  var _options$success2, _options$complete2;
@@ -14,6 +14,6 @@ export function hideTabBar(options) {
14
14
  visible: false,
15
15
  animation: options.animation
16
16
  });
17
- options === null || options === void 0 ? void 0 : (_options$success2 = options.success) === null || _options$success2 === void 0 ? void 0 : _options$success2.call(options);
18
- options === null || options === void 0 ? void 0 : (_options$complete2 = options.complete) === null || _options$complete2 === void 0 ? void 0 : _options$complete2.call(options);
17
+ options === null || options === void 0 || (_options$success2 = options.success) === null || _options$success2 === void 0 || _options$success2.call(options);
18
+ options === null || options === void 0 || (_options$complete2 = options.complete) === null || _options$complete2 === void 0 || _options$complete2.call(options);
19
19
  }
@@ -95,7 +95,6 @@ export class PageWrapper extends React.Component {
95
95
  lifecycle.removeInstance(this.$instance);
96
96
  // TODO: 实现 onPullDownRefresh 生命周期
97
97
  }
98
-
99
98
  render() {
100
99
  const {
101
100
  page,
@@ -28,8 +28,8 @@ export class TabBar extends React.Component {
28
28
  }
29
29
  componentWillUnmount() {
30
30
  var _this$unChangeHandle, _this$unAppStoreChang;
31
- (_this$unChangeHandle = this.unChangeHandle) === null || _this$unChangeHandle === void 0 ? void 0 : _this$unChangeHandle.call(this);
32
- (_this$unAppStoreChang = this.unAppStoreChange) === null || _this$unAppStoreChang === void 0 ? void 0 : _this$unAppStoreChang.call(this);
31
+ (_this$unChangeHandle = this.unChangeHandle) === null || _this$unChangeHandle === void 0 || _this$unChangeHandle.call(this);
32
+ (_this$unAppStoreChang = this.unAppStoreChange) === null || _this$unAppStoreChang === void 0 || _this$unAppStoreChang.call(this);
33
33
  }
34
34
  render() {
35
35
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/framework",
3
- "version": "1.5.0-beta.11",
3
+ "version": "1.5.0",
4
4
  "description": "Ray Core",
5
5
  "keywords": [
6
6
  "ray"
@@ -23,26 +23,26 @@
23
23
  "watch": "tsc -p ./tsconfig.build.json --module esnext --outDir lib --watch"
24
24
  },
25
25
  "dependencies": {
26
- "@ray-js/framework-mp": "^1.5.0-beta.11",
27
- "@ray-js/framework-shared": "^1.5.0-beta.11",
28
- "@ray-js/library": "^1.5.0-beta.11",
29
- "@ray-js/location": "^1.5.0-beta.11",
30
- "@ray-js/router": "^1.5.0-beta.11",
31
- "@ray-js/runtime": "^1.5.0-beta.11",
26
+ "@ray-js/framework-mp": "1.5.0",
27
+ "@ray-js/framework-shared": "1.5.0",
28
+ "@ray-js/library": "1.5.0",
29
+ "@ray-js/location": "1.5.0",
30
+ "@ray-js/router": "1.5.0",
31
+ "@ray-js/runtime": "1.5.0",
32
32
  "clsx": "^1.2.1",
33
33
  "hoist-non-react-statics": "^3.3.2",
34
34
  "lodash.get": "^4.4.2",
35
35
  "lodash.set": "^4.3.2",
36
36
  "slash": "^5.1.0",
37
- "tiny-invariant": "^1.3.1"
37
+ "tiny-invariant": "^1.3.3"
38
38
  },
39
39
  "devDependencies": {
40
- "@ray-js/cli": "^1.5.0-beta.11",
41
- "@ray-js/types": "^1.5.0-beta.11"
40
+ "@ray-js/cli": "1.5.0",
41
+ "@ray-js/types": "1.5.0"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public",
45
45
  "registry": "https://registry.npmjs.org"
46
46
  },
47
- "gitHead": "4b672baff874f366149a5a3007366a2eba7e5132"
47
+ "gitHead": "acb0b960e4f0cda492b34c950bf9cd8d5b27ec8a"
48
48
  }