fix: bug#16796

This commit is contained in:
XieYongHong 2023-08-01 18:08:48 +08:00
parent 1016e27268
commit ca1cd1fd53
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ const columns: any = [
rules: [
{
callback(rule:any,value: any) {
if (!value) {
if (!value || (Array.isArray(value) && value.some(item => !item))) {
return Promise.reject('请配置指标')
}
return Promise.resolve()