@airpower/web 1.5.1 → 1.5.4

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.
@@ -24,7 +24,7 @@ export declare class Http {
24
24
  /**
25
25
  * ### 是否携带 `Cookies`
26
26
  */
27
- private widthCookie;
27
+ private withCookie;
28
28
  /**
29
29
  * ### 请求头
30
30
  */
package/dist/main.js CHANGED
@@ -14147,6 +14147,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
14147
14147
  emitValue();
14148
14148
  emitBlur();
14149
14149
  }
14150
+ watch([props.list, props.tree], () => {
14151
+ dictionary.value = props.list ? props.list : formConfig.value && fieldConfig.value?.dictionary ? fieldConfig.value.dictionary.toArray() : void 0;
14152
+ }, {
14153
+ deep: true,
14154
+ immediate: true
14155
+ });
14150
14156
  watch(value, () => {
14151
14157
  emitValue();
14152
14158
  });
@@ -14983,7 +14989,7 @@ class Http {
14983
14989
  /**
14984
14990
  * ### 是否携带 `Cookies`
14985
14991
  */
14986
- widthCookie = false;
14992
+ withCookie = false;
14987
14993
  /**
14988
14994
  * ### 请求头
14989
14995
  */
@@ -15040,7 +15046,7 @@ class Http {
15040
15046
  * ### 允许携带 `Cookies`
15041
15047
  */
15042
15048
  withCredentials() {
15043
- this.widthCookie = true;
15049
+ this.withCookie = true;
15044
15050
  return this;
15045
15051
  }
15046
15052
  /**
@@ -15183,7 +15189,7 @@ class Http {
15183
15189
  axiosConfig.method = this.method;
15184
15190
  axiosConfig.data = body;
15185
15191
  axiosConfig.params = params;
15186
- axiosConfig.withCredentials = this.widthCookie;
15192
+ axiosConfig.withCredentials = this.withCookie;
15187
15193
  const response = new HttpResponse();
15188
15194
  try {
15189
15195
  const res = await axios.request(axiosConfig);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.5.1",
4
+ "version": "1.5.4",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",