@uxda/appkit 4.2.26 → 4.2.28
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/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import '@nutui/nutui-taro/dist/packages/checkbox/style/css';
|
|
|
4
4
|
import { defineComponent, reactive, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createTextVNode, ref, computed, onUnmounted, createCommentVNode, renderSlot, createVNode, unref, isRef, normalizeStyle, onMounted, createStaticVNode, watch, resolveComponent, withDirectives, vShow, useModel, mergeModels, vModelText, watchPostEffect, withModifiers } from 'vue';
|
|
5
5
|
import '@nutui/nutui-taro/dist/packages/grid/style/css';
|
|
6
6
|
import '@nutui/nutui-taro/dist/packages/griditem/style/css';
|
|
7
|
-
import Taro, { getSystemInfoSync, getMenuButtonBoundingClientRect, useDidShow, useRouter } from '@tarojs/taro';
|
|
7
|
+
import Taro, { getSystemInfoSync, getMenuButtonBoundingClientRect, request as request$1, useDidShow, useRouter } from '@tarojs/taro';
|
|
8
8
|
import '@nutui/nutui-taro/dist/packages/popup/style/css';
|
|
9
9
|
import isMobilePhone from 'validator/es/lib/isMobilePhone';
|
|
10
10
|
import isIdentityCard from 'validator/es/lib/isIdentityCard';
|
|
@@ -399,7 +399,7 @@ function useLogger(options) {
|
|
|
399
399
|
console.log(params);
|
|
400
400
|
const tmpStr = Object.keys(params).map((key) => `${key}=${encodeURIComponent(params[key])}`).join("&");
|
|
401
401
|
const url2 = `${alislsURL}&${tmpStr}`;
|
|
402
|
-
|
|
402
|
+
request$1({ url: url2 });
|
|
403
403
|
}
|
|
404
404
|
function info(params) {
|
|
405
405
|
if (!enable) return;
|
|
@@ -839,7 +839,7 @@ const vendor$3 = {
|
|
|
839
839
|
traceId: generateUniqueId("appkit")
|
|
840
840
|
};
|
|
841
841
|
const startTime = (/* @__PURE__ */ new Date()).getTime();
|
|
842
|
-
|
|
842
|
+
request$1({
|
|
843
843
|
url: config.url,
|
|
844
844
|
method: config.method,
|
|
845
845
|
header,
|
|
@@ -1424,7 +1424,7 @@ const vendor$2 = {
|
|
|
1424
1424
|
traceId: generateUniqueId("appkit")
|
|
1425
1425
|
};
|
|
1426
1426
|
const startTime = (/* @__PURE__ */ new Date()).getTime();
|
|
1427
|
-
|
|
1427
|
+
request$1({
|
|
1428
1428
|
url: config.url,
|
|
1429
1429
|
method: config.method,
|
|
1430
1430
|
header,
|
|
@@ -4573,7 +4573,7 @@ const vendor$1 = {
|
|
|
4573
4573
|
traceId: generateUniqueId("appkit")
|
|
4574
4574
|
};
|
|
4575
4575
|
const startTime = (/* @__PURE__ */ new Date()).getTime();
|
|
4576
|
-
|
|
4576
|
+
request$1({
|
|
4577
4577
|
url: config.url,
|
|
4578
4578
|
method: config.method,
|
|
4579
4579
|
header,
|
|
@@ -5597,7 +5597,7 @@ const vendor = {
|
|
|
5597
5597
|
traceId: generateUniqueId("appkit")
|
|
5598
5598
|
};
|
|
5599
5599
|
const startTime = (/* @__PURE__ */ new Date()).getTime();
|
|
5600
|
-
|
|
5600
|
+
request$1({
|
|
5601
5601
|
url: config.url,
|
|
5602
5602
|
method: config.method,
|
|
5603
5603
|
header,
|
package/package.json
CHANGED
package/src/balance/api/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro'
|
|
1
|
+
import Taro, { request as TaroRequest } from '@tarojs/taro'
|
|
2
2
|
import { HttpRequestConfig, PagingData, PagingParams, ResponseRaw, createHttp } from '../../shared'
|
|
3
3
|
import { translates, transforms } from './endpoints'
|
|
4
4
|
import { useAppKitOptions } from '../../Appkit'
|
|
@@ -18,7 +18,7 @@ const vendor = {
|
|
|
18
18
|
}
|
|
19
19
|
const startTime = new Date().getTime()
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
TaroRequest({
|
|
22
22
|
url: config.url,
|
|
23
23
|
method: config.method,
|
|
24
24
|
header,
|
package/src/notice/api/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro'
|
|
1
|
+
import Taro, { request as TaroRequest } from '@tarojs/taro'
|
|
2
2
|
import { HttpRequestConfig, PagingData, PagingParams, ResponseRaw, createHttp } from '../../shared'
|
|
3
3
|
import { translates, transforms } from './endpoints'
|
|
4
4
|
import { useAppKitOptions } from '../../Appkit'
|
|
@@ -18,7 +18,7 @@ const vendor = {
|
|
|
18
18
|
}
|
|
19
19
|
const startTime = new Date().getTime()
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
TaroRequest({
|
|
22
22
|
url: config.url,
|
|
23
23
|
method: config.method,
|
|
24
24
|
header,
|
package/src/payment/api/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro'
|
|
1
|
+
import Taro, { request as TaroRequest } from '@tarojs/taro'
|
|
2
2
|
import { HttpRequestConfig, ResponseRaw, createHttp } from '../../shared'
|
|
3
3
|
import { translates, transforms } from './endpoints'
|
|
4
4
|
import { useAppKitOptions } from '../../Appkit'
|
|
@@ -18,7 +18,7 @@ const vendor = {
|
|
|
18
18
|
}
|
|
19
19
|
const startTime = new Date().getTime()
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
TaroRequest({
|
|
22
22
|
url: config.url,
|
|
23
23
|
method: config.method,
|
|
24
24
|
header,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* 生产: https://sls.console.aliyun.com/lognext/project/ddyk-prod/logsearch/ddjf-internet-web
|
|
4
4
|
*/
|
|
5
5
|
import { useAppKitOptions } from '../../Appkit'
|
|
6
|
-
import Taro, { getSystemInfoSync } from '@tarojs/taro'
|
|
6
|
+
import Taro, { getSystemInfoSync, request } from '@tarojs/taro'
|
|
7
7
|
|
|
8
8
|
interface LogType {
|
|
9
9
|
projectName?: string
|
|
@@ -93,7 +93,7 @@ export function useLogger(options?: LogType) {
|
|
|
93
93
|
.map((key) => `${key}=${encodeURIComponent(params[key])}`)
|
|
94
94
|
.join('&')
|
|
95
95
|
const url = `${alislsURL}&${tmpStr}`
|
|
96
|
-
|
|
96
|
+
request({ url })
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
function info(params: any) {
|
package/src/user/api/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro'
|
|
1
|
+
import Taro, { request as TaroRequest } from '@tarojs/taro'
|
|
2
2
|
import { HttpRequestConfig, PagingData, PagingParams, ResponseRaw, createHttp } from '../../shared'
|
|
3
3
|
import { translates, transforms } from './endpoints'
|
|
4
4
|
import { useAppKitOptions } from '../../Appkit'
|
|
@@ -18,7 +18,7 @@ const vendor = {
|
|
|
18
18
|
}
|
|
19
19
|
const startTime = new Date().getTime()
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
TaroRequest({
|
|
22
22
|
url: config.url,
|
|
23
23
|
method: config.method,
|
|
24
24
|
header,
|