File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -212,9 +212,11 @@ const addToChildren = (
212
212
}
213
213
}
214
214
const toCamelCase = ( str : string , upperCaseFirst : boolean ) => {
215
- str = ( str || '' ) . toLowerCase ( ) . replace ( / - ( .) / g, function ( group1 : string ) {
216
- return group1 . toUpperCase ( )
217
- } )
215
+ str = ( str || '' )
216
+ . replace ( / - ( .) / g, function ( group1 : string ) {
217
+ return group1 . toUpperCase ( )
218
+ } )
219
+ . replaceAll ( '-' , '' )
218
220
219
221
if ( upperCaseFirst && str ) {
220
222
str = str . charAt ( 0 ) . toUpperCase ( ) + str . slice ( 1 )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const { push } = useRouter() // 路由
22
22
23
23
const [registerTable] = useXTable ({
24
24
allSchemas: allSchemas ,
25
- topActionSlots:false ,
25
+ topActionSlots: false ,
26
26
getListApi: TaskApi .getTodoTaskPage
27
27
})
28
28
Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ const tableTypeSelect = ref(false)
179
179
const cellClickEvent: VxeTableEvents .CellClick = async ({ row }) => {
180
180
tableTypeSelect .value = true
181
181
queryParams .dictType = row [' type' ]
182
+ await nextTick ()
182
183
await dataGetList ()
183
184
parentType .value = row [' type' ]
184
185
}
You can’t perform that action at this time.
0 commit comments