@airpower/web 0.2.9 → 0.2.11
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.
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MoneyDirection } from '../components';
|
|
2
|
-
import { HttpHeader, HttpStatus } from '../util';
|
|
3
2
|
/**
|
|
4
3
|
* # 全局配置
|
|
5
4
|
*
|
|
@@ -253,15 +252,15 @@ export declare class WebConfig {
|
|
|
253
252
|
/**
|
|
254
253
|
* ### `AccessToken` 对应的 `Key`
|
|
255
254
|
*/
|
|
256
|
-
static authorizationHeaderKey:
|
|
255
|
+
static authorizationHeaderKey: string;
|
|
257
256
|
/**
|
|
258
257
|
* ### 全局 `http` 请求返回 成功状态码
|
|
259
258
|
*/
|
|
260
|
-
static successCode:
|
|
259
|
+
static successCode: number;
|
|
261
260
|
/**
|
|
262
261
|
* ### 全局 `http` 请求返回 登录状态码
|
|
263
262
|
*/
|
|
264
|
-
static unAuthorizeCode:
|
|
263
|
+
static unAuthorizeCode: number;
|
|
265
264
|
/**
|
|
266
265
|
* ### 超时时间 毫秒
|
|
267
266
|
* 超时后请求会自动断开并抛出异常
|
package/dist/main.js
CHANGED
|
@@ -7893,7 +7893,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
7893
7893
|
onClick: _cache[0] || (_cache[0] = ($event) => show())
|
|
7894
7894
|
}, {
|
|
7895
7895
|
default: withCtx(() => [
|
|
7896
|
-
createTextVNode(toDisplayString(__props.payload.
|
|
7896
|
+
createTextVNode(toDisplayString(__props.payload.getPayloadLabel()), 1)
|
|
7897
7897
|
]),
|
|
7898
7898
|
_: 1
|
|
7899
7899
|
});
|
|
@@ -9132,7 +9132,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
9132
9132
|
const result = useModel(__props, "modelValue");
|
|
9133
9133
|
const label = computed(() => {
|
|
9134
9134
|
var _a;
|
|
9135
|
-
return ((_a = result.value) == null ? void 0 : _a.
|
|
9135
|
+
return ((_a = result.value) == null ? void 0 : _a.getPayloadLabel()) || props.default;
|
|
9136
9136
|
});
|
|
9137
9137
|
async function onSelect() {
|
|
9138
9138
|
result.value = await DialogUtil.show(props.selector, props.param);
|