Skip to content

Commit 70c585e

Browse files
committed
Merge branch 'vue3-ts-vite' of https://e.coding.net/shancool/cool-admin/front-next into vue3-ts-vite
2 parents bff7676 + d95b01e commit 70c585e

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.js text eol=lf
22
*.json text eol=lf
3-
*.ts text eol=lf
3+
*.ts text eol=lf
4+
*.vue text eol=lf

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a href="https://show.cool-admin.com/" target="blank"><img src="https://admin.cool-js.com/logo.png" width="200" alt="cool-admin Logo" /></a>
55
</p>
66

7-
<p align="center">cool-admin 一个很酷的后台权限管理系统,开源免费,模块化、插件化、极速开发 CRUD,方便快速构建迭代后台管理系统, 到论坛 进一步了解</p>
7+
<p align="center">cool-admin 一个很酷的后台权限管理系统,开源免费,模块化、插件化、极速开发 CRUD,方便快速构建迭代后台管理系统, 到<a href="https://cool-js.com" target="_blank">文档</a> 进一步了解</p>
88

99
<p align="center">
1010
<a href="https://github.com/cool-team-official/cool-admin-vue/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="GitHub license" />

src/cool/modules/base/views/log.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default defineComponent({
117117
118118
// 保存天数
119119
function saveDay() {
120-
service.base.sys.log.setKeep(day.value).then(() => {
120+
service.base.sys.log.setKeep({ value: day.value }).then(() => {
121121
ElMessage.success("保存成功");
122122
});
123123
}

src/cool/modules/task/views/task.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ export default defineComponent({
316316
317317
// 更多列表
318318
function moreList(res: any, { list, pagination }: any) {
319+
if (!res) {
320+
return;
321+
}
319322
const { page, size } = res.pagination;
320323
const len = res.list.length;
321324
const max = list.length;
@@ -486,7 +489,7 @@ export default defineComponent({
486489
component: {
487490
name: "el-input",
488491
props: {
489-
placeholder: "sys.test.add(params)"
492+
placeholder: "taskDemoService.test([1,2])"
490493
}
491494
}
492495
},

0 commit comments

Comments
 (0)