diff --git a/.gitattributes b/.gitattributes index b8b24d0..e41187f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ *.js text eol=lf *.json text eol=lf -*.ts text eol=lf \ No newline at end of file +*.ts text eol=lf +*.vue text eol=lf \ No newline at end of file diff --git a/README.md b/README.md index 803de77..699345f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ cool-admin Logo

-

cool-admin 一个很酷的后台权限管理系统,开源免费,模块化、插件化、极速开发 CRUD,方便快速构建迭代后台管理系统, 到论坛 进一步了解

+

cool-admin 一个很酷的后台权限管理系统,开源免费,模块化、插件化、极速开发 CRUD,方便快速构建迭代后台管理系统, 到文档 进一步了解

GitHub license diff --git a/src/cool/modules/base/views/log.vue b/src/cool/modules/base/views/log.vue index 73b4ebe..4e66774 100644 --- a/src/cool/modules/base/views/log.vue +++ b/src/cool/modules/base/views/log.vue @@ -117,7 +117,7 @@ export default defineComponent({ // 保存天数 function saveDay() { - service.base.sys.log.setKeep(day.value).then(() => { + service.base.sys.log.setKeep({ value: day.value }).then(() => { ElMessage.success("保存成功"); }); } diff --git a/src/cool/modules/task/views/task.vue b/src/cool/modules/task/views/task.vue index de73e1b..60990bb 100644 --- a/src/cool/modules/task/views/task.vue +++ b/src/cool/modules/task/views/task.vue @@ -316,6 +316,9 @@ export default defineComponent({ // 更多列表 function moreList(res: any, { list, pagination }: any) { + if (!res) { + return; + } const { page, size } = res.pagination; const len = res.list.length; const max = list.length; @@ -486,7 +489,7 @@ export default defineComponent({ component: { name: "el-input", props: { - placeholder: "sys.test.add(params)" + placeholder: "taskDemoService.test([1,2])" } } },