修改新参数的默认值
parent
1773e48e3e
commit
786a62272b
|
|
@ -47,7 +47,7 @@ export const get_type = () => {
|
||||||
}
|
}
|
||||||
// 获取类型
|
// 获取类型
|
||||||
export const get_business = () => {
|
export const get_business = () => {
|
||||||
return data_handle('business/', '');
|
return data_handle('business/', 'home');
|
||||||
}
|
}
|
||||||
// 数据处理
|
// 数据处理
|
||||||
export const data_handle = (val: string, default_val: string): string => {
|
export const data_handle = (val: string, default_val: string): string => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue