@uxda/appkit 4.2.89 → 4.2.90

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
@@ -6240,7 +6240,7 @@ var script$e = /* @__PURE__ */ defineComponent({
6240
6240
  }
6241
6241
  async function readAll() {
6242
6242
  try {
6243
- Taro.showLoading({
6243
+ showLoading({
6244
6244
  title: "\u8BF7\u7A0D\u540E..."
6245
6245
  });
6246
6246
  const appkitOptions = useAppKitOptions();
@@ -6256,7 +6256,7 @@ var script$e = /* @__PURE__ */ defineComponent({
6256
6256
  });
6257
6257
  });
6258
6258
  } finally {
6259
- Taro.hideLoading();
6259
+ hideLoading();
6260
6260
  }
6261
6261
  }
6262
6262
  const emits = __emit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.2.89",
3
+ "version": "4.2.90",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -51,7 +51,7 @@
51
51
 
52
52
  <script setup lang="ts">
53
53
  import { useDidShow } from '@tarojs/taro'
54
- import Taro from '@tarojs/taro'
54
+ import { showLoading, hideLoading } from '@tarojs/taro'
55
55
  import { type WithPaging, usePaging } from '@uxda/nutshell/taro'
56
56
  import { useHttp, endpoints } from '../api'
57
57
  import { reactive, ref } from 'vue'
@@ -161,7 +161,7 @@ function read(item: any) {
161
161
 
162
162
  async function readAll() {
163
163
  try {
164
- Taro.showLoading({
164
+ showLoading({
165
165
  title: '请稍后...',
166
166
  })
167
167
 
@@ -178,7 +178,7 @@ async function readAll() {
178
178
  })
179
179
  })
180
180
  } finally {
181
- Taro.hideLoading()
181
+ hideLoading()
182
182
  }
183
183
  }
184
184