build: bump vite and fix code style (#272)

This commit is contained in:
Fine0830
2023-06-07 13:37:41 +08:00
committed by GitHub
parent 279ec60915
commit b293f4ddb5
4 changed files with 11 additions and 13 deletions

View File

@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { RespFields, Calculations } from "./data";
import { RespFields } from "./data";
import { ExpressionResultType } from "@/views/dashboard/data";
import { ElMessage } from "element-plus";
import { useDashboardStore } from "@/store/modules/dashboard";
@@ -22,7 +22,6 @@ import { useSelectorStore } from "@/store/modules/selectors";
import { useAppStoreWithOut } from "@/store/modules/app";
import type { MetricConfigOpt } from "@/types/dashboard";
import type { Instance, Endpoint, Service } from "@/types/selector";
import { calculateExp } from "./useMetricsProcessor";
export function useExpressionsQueryProcessor(config: Indexable) {
if (!(config.metrics && config.metrics[0])) {

View File

@@ -22,7 +22,6 @@ import { useSelectorStore } from "@/store/modules/selectors";
import { useAppStoreWithOut } from "@/store/modules/app";
import type { Instance, Endpoint, Service } from "@/types/selector";
import type { MetricConfigOpt } from "@/types/dashboard";
import type { E } from "vitest/dist/types-c441ef31";
export function useQueryProcessor(config: Indexable) {
if (!(config.metrics && config.metrics[0])) {