@uxda/appkit 1.2.68 → 1.2.69

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
@@ -569,7 +569,7 @@ const request = (config) => {
569
569
  return false;
570
570
  }
571
571
  }
572
- if (raw.data) {
572
+ if (raw.data !== void 0) {
573
573
  const response = clientConfig.transforms && clientConfig.transforms[c.url] ? clientConfig.transforms[c.url](raw.data) : raw.data;
574
574
  const paging = config.data.page ? clientConfig.paging.transform(raw.data) : void 0;
575
575
  resolve(
@@ -3960,7 +3960,7 @@ var script$2 = /* @__PURE__ */ defineComponent({
3960
3960
  tenantId: appkitOptions.tenant(),
3961
3961
  userId: props.userId
3962
3962
  }).then((result) => {
3963
- if (!Number(result))
3963
+ if (typeof result === "object")
3964
3964
  return;
3965
3965
  noticeShow.value = result > 0;
3966
3966
  });
@@ -4296,7 +4296,7 @@ var script = /* @__PURE__ */ defineComponent({
4296
4296
  bordered: false,
4297
4297
  focus: false,
4298
4298
  value: query.value.title,
4299
- placeholder: "\u8BF7\u8F93\u5165\u5BA2\u6237\u59D3\u540D\u641C\u7D22",
4299
+ placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22",
4300
4300
  onSearch
4301
4301
  }, null, 8, ["value"]),
4302
4302
  createElementVNode("div", _hoisted_2, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "1.2.68",
3
+ "version": "1.2.69",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -57,7 +57,7 @@ async function getNotice() {
57
57
  userId: props.userId,
58
58
  })
59
59
  .then((result: any) => {
60
- if (!Number(result)) return
60
+ if (typeof result === 'object') return
61
61
 
62
62
  noticeShow.value = result > 0
63
63
  })
@@ -4,7 +4,7 @@
4
4
  :bordered="false"
5
5
  :focus="false"
6
6
  :value="query.title"
7
- placeholder="请输入客户姓名搜索"
7
+ placeholder="请输入关键字搜索"
8
8
  @search="onSearch"
9
9
  />
10
10
 
@@ -55,7 +55,7 @@ const request: HttpInstance['request'] = <T>(config: HttpRequestConfig) => {
55
55
  return false
56
56
  }
57
57
  }
58
- if (raw.data) {
58
+ if (raw.data !== void 0) {
59
59
  // 当用户配置含有 transforms 时, 使用用户提供的 transform
60
60
  // 先 endpoints transform
61
61
  // 再组装分页数据