菲鸽
|
8b357ab8c5
|
Merge branch 'base' into tabbar
|
2024-07-16 21:09:37 +08:00 |
|
菲鸽
|
80ee46a328
|
docs: readme
|
2024-07-16 21:09:12 +08:00 |
|
菲鸽
|
cd8c0706f3
|
fix: 文字写错。路劲 --> 路径
|
2024-07-15 16:02:19 +08:00 |
|
菲鸽
|
7f41078fa0
|
Merge branch 'base' into tabbar
|
2024-06-28 13:08:08 +08:00 |
|
菲鸽
|
357ed6cf12
|
fix(arr.at): 低版本安卓浏览器打包报错
|
2024-06-28 13:07:45 +08:00 |
|
菲鸽
|
e4571097c8
|
Merge branch 'base' into tabbar
|
2024-06-25 21:59:57 +08:00 |
|
菲鸽
|
24240c16f4
|
docs: readme
|
2024-06-25 21:59:29 +08:00 |
|
菲鸽
|
dec635a59d
|
Merge branch 'base' into tabbar
|
2024-06-25 17:48:07 +08:00 |
|
菲鸽
|
2c957145af
|
docs: readme
|
2024-06-25 17:47:26 +08:00 |
|
菲鸽
|
8f8b2ea02d
|
build(package.json): preinstall 限制只能用 pnpm 包管理器运行
|
2024-06-20 10:02:53 +08:00 |
|
菲鸽
|
5823f89e5f
|
Merge branch 'base' into tabbar
|
2024-06-19 14:11:45 +08:00 |
|
菲鸽
|
12fd82778e
|
fix: Command failed: git rev-parse --abbrev-ref HEAD
|
2024-06-19 14:09:12 +08:00 |
|
菲鸽
|
d20f359769
|
Merge branch 'base' into tabbar
|
2024-06-17 17:24:21 +08:00 |
|
菲鸽
|
247ad78dbf
|
build: version 2.4.3
|
2024-06-17 17:24:10 +08:00 |
|
菲鸽
|
18d52a8e48
|
Merge branch 'base' into tabbar
|
2024-06-17 17:23:20 +08:00 |
|
菲鸽
|
ce1ee1ad97
|
chore(uniapp): 更新于移除
|
2024-06-17 17:22:32 +08:00 |
|
菲鸽
|
ff42e5edf0
|
fix: uvm 命令
|
2024-06-17 17:15:51 +08:00 |
|
菲鸽
|
6e0588c86b
|
feat: postupgrade
|
2024-06-17 17:07:37 +08:00 |
|
菲鸽
|
3b2395da26
|
Merge branch 'base' into tabbar
|
2024-06-17 16:25:52 +08:00 |
|
菲鸽
|
f322199fb6
|
build: version 2.4.2
|
2024-06-17 16:25:02 +08:00 |
|
菲鸽
|
50ba935024
|
build: vue@3.4.21
|
2024-06-17 16:23:44 +08:00 |
|
菲鸽
|
f6d81a3004
|
build: pnpm upgrade
|
2024-06-17 16:22:38 +08:00 |
|
菲鸽
|
fa0cc58fec
|
build: add BUILD_BRANCH
|
2024-06-16 22:17:24 +08:00 |
|
菲鸽
|
1c3e045331
|
perf: BUILD_DATE --> BUILD_TIME
|
2024-06-16 22:07:01 +08:00 |
|
菲鸽
|
12aae659fe
|
Merge branch 'base' into tabbar
|
2024-06-16 16:47:37 +08:00 |
|
菲鸽
|
f2177da894
|
build: 处理一些console
|
2024-06-16 16:46:58 +08:00 |
|
菲鸽
|
45744d412e
|
Merge branch 'base' into tabbar
|
2024-06-16 16:39:14 +08:00 |
|
菲鸽
|
2870dcdc98
|
!8 build(types): 删除旧类型声明文件
Merge pull request !8 from wyl86/base
|
2024-06-13 04:11:06 +00:00 |
|
wyl86
|
b2c740425e
|
build(types): 删除旧类型声明文件
删除 @uni-helper/vite-plugin-uni-pages 旧类型声明文件
|
2024-06-13 12:03:09 +08:00 |
|
菲鸽
|
81e660877e
|
fix(utils): getUrlObj 健壮性
|
2024-06-11 13:29:18 +08:00 |
|
菲鸽
|
66faff8614
|
chore(pnpm-lock.yaml): pnpm i
|
2024-06-11 11:22:24 +08:00 |
|
菲鸽
|
931c4a3bc6
|
Merge pull request #109 from handongccc/main
feat(commitlintrc): 优化git提交方式|修改文件折叠显示
|
2024-06-11 11:15:02 +08:00 |
|
菲鸽
|
1402465fc8
|
Merge remote-tracking branch 'origin/base' into base
|
2024-06-11 11:07:24 +08:00 |
|
菲鸽
|
a7d808f5d3
|
Merge pull request #107 from JinliangYan/feature/enhance&refine-userequest-hook
Feature/enhance&refine userequest hook
|
2024-06-11 11:01:50 +08:00 |
|
Jinliang
|
457186c391
|
refine(hooks): 优化 useRequest 立即执行逻辑
- immediate 选项由默认true 改为false
- 立即执行由在 onLoad 执行改为在钩子调用期间立即执行
BREAKING CHANGE: immediate 选项由默认 true 改为 false
|
2024-06-08 15:59:49 +08:00 |
|
Jinliang
|
f69515952b
|
feat: 增强 useRequest 钩子,增加返回值和错误处理
- 在 `run` 函数中增加 `return func()`,确保 `run` 函数返回 Promise,以便调用者可以等待其完成。
- 在 `run` 函数中添加 `return data.value`,以便请求成功时返回响应数据。
- 在 `run` 函数中添加 `throw err`,以便请求失败时抛出错误。
这些更改允许调用者直接访问请求结果,并使用 `try...catch` 来处理错误,不必监听data和error处理数据或者错误,从而提高 `useRequest` 钩子的可用性和健壮性。
使用示例:
const { run } = useRequest(fetchData, { immediate: false })
try {
const result = await run()
console.log('成功:', result)
} catch (err) {
console.error('失败:', err)
}
|
2024-06-08 15:56:47 +08:00 |
|
Z.X.PING
|
f0d6032edf
|
fix: 临时解决 dcloudio 官方的 @dcloudio/uni-mp-compiler 出现的编译 BUG (#103)
|
2024-06-07 20:59:26 +08:00 |
|
菲鸽
|
4b7a28fe97
|
Merge branch 'base' into tabbar
|
2024-06-07 10:48:09 +08:00 |
|
菲鸽
|
da6509abf6
|
fix: comment error
|
2024-06-07 10:40:36 +08:00 |
|
菲鸽
|
cf2991f648
|
feat: 增加找工作的信息
|
2024-06-06 10:46:36 +08:00 |
|
菲鸽
|
c1ed654ff3
|
Merge branch 'base' into tabbar
|
2024-06-04 18:03:36 +08:00 |
|
菲鸽
|
0a5cc3052c
|
feat: build时区分环境,dev时不用压缩
|
2024-06-04 18:03:02 +08:00 |
|
菲鸽
|
bb30afe1b6
|
Merge branch 'base' into tabbar
|
2024-06-03 12:33:53 +08:00 |
|
菲鸽
|
d70c8ed683
|
build: v2.4.1
|
2024-06-03 12:33:19 +08:00 |
|
菲鸽
|
352505643b
|
build: @uni-helper/vite-plugin-uni-pages使用0.2.20
|
2024-06-03 12:32:12 +08:00 |
|
菲鸽
|
fc901fbe68
|
Merge pull request #95 from JinliangYan/fix-function-overloads
fix(eslint): 函数重载飘红
|
2024-06-01 22:13:18 +08:00 |
|
菲鸽
|
4ebc32dd3b
|
Merge branch 'base' into tabbar
|
2024-06-01 21:53:56 +08:00 |
|
菲鸽
|
c08c7f4faa
|
build: v2.4.0
|
2024-06-01 21:53:36 +08:00 |
|
菲鸽
|
b1bfd0d336
|
Merge branch 'base' into tabbar
|
2024-06-01 21:48:43 +08:00 |
|
菲鸽
|
e2228296fa
|
build: "wot-design-uni": "^1.2.20"
|
2024-06-01 21:48:17 +08:00 |
|