@parallel-line/pro-mobile
Advanced tools
Comparing version 2.1.0-beta.150 to 2.1.0-beta.151
@@ -18,4 +18,4 @@ import "@parallel-line/mobile/lib/toast/style"; | ||
import { useState } from 'react'; | ||
import { useRequest } from 'ahooks'; | ||
import { getEnv, setStorageSync } from '@tarojs/taro'; | ||
import { useRequest, useMount } from 'ahooks'; | ||
import { getEnv, setStorageSync, Current } from '@tarojs/taro'; | ||
import { signBegin } from './service'; | ||
@@ -50,2 +50,9 @@ import { getPageQuery } from '@parallel-line/utils'; | ||
useMount(function () { | ||
// @ts-ignore | ||
Current.page['reloadPage'] = function (redirectUrl) { | ||
console.log('---reloadPage'); | ||
setSignUrl(redirectUrl); | ||
}; | ||
}); | ||
useRequest(function () { | ||
@@ -52,0 +59,0 @@ return signBegin({ |
/// <reference types="typings" /> | ||
export { default as Login } from './login'; | ||
export { default as Sign } from './sign'; | ||
export { default as Personal } from './personal'; | ||
@@ -4,0 +5,0 @@ export { default as Contract } from './contract'; |
/// <reference path="../typings/index.d.ts" /> | ||
export { default as Login } from './login'; | ||
export { default as Sign } from './sign'; | ||
export { default as Personal } from './personal'; | ||
@@ -4,0 +5,0 @@ export { default as Contract } from './contract'; |
@@ -64,2 +64,9 @@ "use strict"; | ||
(0, _ahooks.useMount)(function () { | ||
// @ts-ignore | ||
_taro.Current.page['reloadPage'] = function (redirectUrl) { | ||
console.log('---reloadPage'); | ||
setSignUrl(redirectUrl); | ||
}; | ||
}); | ||
(0, _ahooks.useRequest)(function () { | ||
@@ -66,0 +73,0 @@ return (0, _service.signBegin)({ |
/// <reference types="typings" /> | ||
export { default as Login } from './login'; | ||
export { default as Sign } from './sign'; | ||
export { default as Personal } from './personal'; | ||
@@ -4,0 +5,0 @@ export { default as Contract } from './contract'; |
@@ -10,2 +10,3 @@ "use strict"; | ||
Login: true, | ||
Sign: true, | ||
Personal: true, | ||
@@ -54,2 +55,8 @@ Contract: true, | ||
}); | ||
Object.defineProperty(exports, "Sign", { | ||
enumerable: true, | ||
get: function get() { | ||
return _sign.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "TaxEvidence", { | ||
@@ -64,2 +71,4 @@ enumerable: true, | ||
var _sign = _interopRequireDefault(require("./sign")); | ||
var _personal = _interopRequireWildcard(require("./personal")); | ||
@@ -66,0 +75,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "2.1.0-beta.150", | ||
"version": "2.1.0-beta.151", | ||
"scripts": { | ||
@@ -29,3 +29,3 @@ "build": "father-build" | ||
], | ||
"gitHead": "892cfe17fcfeaac7c3ec8989c57309c81ea72046", | ||
"gitHead": "3fcd940e16ef52e68169da0e783e95b518baff3d", | ||
"devDependencies": { | ||
@@ -32,0 +32,0 @@ "babel-plugin-import": "^1.13.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12334298
351
9411