mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-14 02:45:06 +08:00
【优化】全局:动态表单的注释、error log 打印
This commit is contained in:
@ -69,7 +69,7 @@ export const useApiSelect = (option: ApiSelectProps) => {
|
||||
}))
|
||||
return
|
||||
}
|
||||
console.log(`接口[${props.url}] 返回结果不是一个数组`)
|
||||
console.error(`接口[${props.url}] 返回结果不是一个数组`)
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
|
@ -5,6 +5,7 @@ import { SelectRuleOption } from '@/components/FormCreate/src/type'
|
||||
|
||||
/**
|
||||
* 通用选择器规则 hook
|
||||
*
|
||||
* @param option 规则配置
|
||||
*/
|
||||
export const useSelectRule = (option: SelectRuleOption) => {
|
||||
|
Reference in New Issue
Block a user