File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import DateStore from '@seald-io/nedb'
1414import { getDatabasePath , getResponseData } from '../tool/Common'
1515
1616const defaultModel = {
17- id : 5 ,
1817 createdBy : '1' ,
1918 lastUpdatedBy : '1' ,
2019 tenantId : null ,
@@ -310,9 +309,7 @@ const defaultModel = {
310309 ]
311310 }
312311 ] ,
313- description : '111' ,
314- created_at : '2026-01-27 10:41:10' ,
315- updated_at : '2026-01-27 10:41:10'
312+ description : '111'
316313}
317314
318315export default class ModelService {
@@ -334,6 +331,8 @@ export default class ModelService {
334331 const newModel = {
335332 ...defaultModel ,
336333 id : mockId ++ ,
334+ created_at : new Date ( ) . toISOString ( ) ,
335+ updated_at : new Date ( ) . toISOString ( ) ,
337336 ...params
338337 }
339338
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ export default {
277277.life-cycle-tips {
278278 color : var (--te-component-common-text-color-weaken );
279279 margin : 4px 0 0 ;
280- height : 16 px ;
280+ height : 30 px ;
281281 line-height : 16px ;
282282}
283283.life-cycle-content-list {
Original file line number Diff line number Diff line change 6161 </block-event >
6262 </div >
6363 </tiny-collapse-item >
64- <tiny-collapse-item title =" 生命周期设置" name =" lifeCycle" >
65- <div class = " life-cycles-container " >
64+ <tiny-collapse-item class = " life-cycles-container " title =" 生命周期设置" name =" lifeCycle" >
65+ <div >
6666 <life-cycles :isPage =" false" :bindLifeCycles =" state.bindLifeCycles" @bind =" bindLifeCycles" ></life-cycles >
6767 </div >
6868 </tiny-collapse-item >
@@ -380,4 +380,9 @@ export default {
380380 padding : 0 12px 12px ;
381381 }
382382}
383+ .life-cycles-container {
384+ :deep(.tiny-collapse-item__content ) {
385+ margin-bottom : 4px ;
386+ }
387+ }
383388 </style >
Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ export default {
501501
502502.input-output {
503503 :deep(.tiny-collapse-item__content ) {
504- height : 80 px ;
504+ margin-bottom : 4 px ;
505505 }
506506}
507507 </style >
You can’t perform that action at this time.
0 commit comments