perf: 移除文件内eslint注释

This commit is contained in:
tnt group 2022-09-25 22:18:42 +08:00
parent 5987e83a12
commit 31be6737f2
2 changed files with 0 additions and 8 deletions

View File

@ -1,5 +1,3 @@
<!-- eslint-disable vue/multi-word-component-names -->
<!-- eslint-disable vue/no-mutating-props -->
<template>
<collapse-item name="词云" expanded>
<setting-item-box name="形状">
@ -70,17 +68,13 @@ const sliderFormatTooltip = (v: number) => {
}
const updateWidth = (value: number) => {
// eslint-disable-next-line vue/no-mutating-props
props.optionData.series[0].width = `${value}%`
}
const updateHeight = (value: number) => {
// eslint-disable-next-line vue/no-mutating-props
props.optionData.series[0].height = `${value}%`
}
const updateRotation = (value: number) => {
// eslint-disable-next-line vue/no-mutating-props
props.optionData.series[0].rotationStep = value
// eslint-disable-next-line vue/no-mutating-props
props.optionData.series[0].rotationRange = value === 0 ? [0, 0] : [-90, 90]
}
</script>

View File

@ -1,4 +1,3 @@
<!-- eslint-disable vue/multi-word-component-names -->
<template>
<v-chart
ref="vChartRef"
@ -49,7 +48,6 @@ const option = computed(() => {
})
const dataSetHandle = (dataset: typeof dataJson) => {
// eslint-disable-next-line vue/no-mutating-props
dataset && (props.chartConfig.option.series[0].data = dataset)
vChartRef.value && isPreview() && vChartRef.value.setOption(props.chartConfig.option)