File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
* .js text eol =lf
2
2
* .json text eol =lf
3
- * .ts text eol =lf
3
+ * .ts text eol =lf
4
+ * .vue text eol =lf
Original file line number Diff line number Diff line change 4
4
<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 >
5
5
</p >
6
6
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 >
8
8
9
9
<p align =" center " >
10
10
<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" />
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ export default defineComponent({
117
117
118
118
// 保存天数
119
119
function saveDay() {
120
- service .base .sys .log .setKeep (day .value ).then (() => {
120
+ service .base .sys .log .setKeep ({ value: day .value } ).then (() => {
121
121
ElMessage .success (" 保存成功" );
122
122
});
123
123
}
Original file line number Diff line number Diff line change @@ -316,6 +316,9 @@ export default defineComponent({
316
316
317
317
// 更多列表
318
318
function moreList(res : any , { list , pagination }: any ) {
319
+ if (! res ) {
320
+ return ;
321
+ }
319
322
const { page, size } = res .pagination ;
320
323
const len = res .list .length ;
321
324
const max = list .length ;
@@ -486,7 +489,7 @@ export default defineComponent({
486
489
component: {
487
490
name: " el-input" ,
488
491
props: {
489
- placeholder: " sys .test.add(params )"
492
+ placeholder: " taskDemoService .test([1,2] )"
490
493
}
491
494
}
492
495
},
You can’t perform that action at this time.
0 commit comments