fix: Fix monitoring custom range query
Created by: leoendless
What type of PR is this?
/kind bug
What this PR does / why we need it:
If range smaller than steps, set times to 1
Which issue(s) this PR fixes:
Fixes #https://github.com/kubesphere/kubesphere/issues/2382
Special notes for reviewers:
Additional documentation, usage docs, etc.: