Showing
16 changed files
with
19 additions
and
21 deletions
| @@ -177,7 +177,7 @@ | @@ -177,7 +177,7 @@ | ||
| 177 | class="p-2 bg-gray-200 flex flex-col" | 177 | class="p-2 bg-gray-200 flex flex-col" | 
| 178 | :style="{ height: getHeight }" | 178 | :style="{ height: getHeight }" | 
| 179 | > | 179 | > | 
| 180 | - <head class="flex justify-between h-8 items-center"> | 180 | + <header class="flex justify-between h-8 items-center"> | 
| 181 | <div class="font-bold"> | 181 | <div class="font-bold"> | 
| 182 | <span>function</span> | 182 | <span>function</span> | 
| 183 | <span class="ml-1">{{ functionName }}</span> | 183 | <span class="ml-1">{{ functionName }}</span> | 
| @@ -203,7 +203,7 @@ | @@ -203,7 +203,7 @@ | ||
| 203 | </Tooltip> | 203 | </Tooltip> | 
| 204 | <slot name="afterFullScreen"></slot> | 204 | <slot name="afterFullScreen"></slot> | 
| 205 | </div> | 205 | </div> | 
| 206 | - </head> | 206 | + </header> | 
| 207 | <main ref="javaScriptEditorElRef" class="flex-auto"> </main> | 207 | <main ref="javaScriptEditorElRef" class="flex-auto"> </main> | 
| 208 | <footer class="font-bold">}</footer> | 208 | <footer class="font-bold">}</footer> | 
| 209 | </section> | 209 | </section> | 
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <div ref="chartRef" :style="{ height, width }"></div> | 3 | <div ref="chartRef" :style="{ height, width }"></div> | 
| 4 | </template> | 4 | </template> | 
| 5 | <script lang="ts" setup> | 5 | <script lang="ts" setup> | 
| 6 | - import { ref, Ref, withDefaults, onMounted, watch } from 'vue'; | 6 | + import { ref, Ref, onMounted, watch } from 'vue'; | 
| 7 | import { useECharts } from '/@/hooks/web/useECharts'; | 7 | import { useECharts } from '/@/hooks/web/useECharts'; | 
| 8 | import { getTrendData } from '/@/api/dashboard'; | 8 | import { getTrendData } from '/@/api/dashboard'; | 
| 9 | import { t } from '/@/hooks/web/useI18n'; | 9 | import { t } from '/@/hooks/web/useI18n'; | 
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | </div> | 5 | </div> | 
| 6 | </template> | 6 | </template> | 
| 7 | <script lang="ts" setup> | 7 | <script lang="ts" setup> | 
| 8 | - import { onMounted, ref, Ref, withDefaults, watch } from 'vue'; | 8 | + import { onMounted, ref, Ref, watch } from 'vue'; | 
| 9 | import { useECharts } from '/@/hooks/web/useECharts'; | 9 | import { useECharts } from '/@/hooks/web/useECharts'; | 
| 10 | import { Empty } from 'ant-design-vue'; | 10 | import { Empty } from 'ant-design-vue'; | 
| 11 | import { useI18n } from '/@/hooks/web/useI18n'; | 11 | import { useI18n } from '/@/hooks/web/useI18n'; | 
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | </div> | 5 | </div> | 
| 6 | </template> | 6 | </template> | 
| 7 | <script lang="ts" setup> | 7 | <script lang="ts" setup> | 
| 8 | - import { ref, Ref, watch, withDefaults, onMounted } from 'vue'; | 8 | + import { ref, Ref, watch, onMounted } from 'vue'; | 
| 9 | import { useECharts } from '/@/hooks/web/useECharts'; | 9 | import { useECharts } from '/@/hooks/web/useECharts'; | 
| 10 | import { Empty } from 'ant-design-vue'; | 10 | import { Empty } from 'ant-design-vue'; | 
| 11 | import { useI18n } from '/@/hooks/web/useI18n'; | 11 | import { useI18n } from '/@/hooks/web/useI18n'; | 
| @@ -84,11 +84,9 @@ | @@ -84,11 +84,9 @@ | ||
| 84 | 84 | ||
| 85 | <style lang="less" scoped> | 85 | <style lang="less" scoped> | 
| 86 | .tcp-configuration-form { | 86 | .tcp-configuration-form { | 
| 87 | - :deep { | ||
| 88 | - .ant-input-number { | ||
| 89 | - min-width: initial; | ||
| 90 | - width: 100%; | ||
| 91 | - } | 87 | + :deep(.ant-input-number) { | 
| 88 | + min-width: initial; | ||
| 89 | + width: 100%; | ||
| 92 | } | 90 | } | 
| 93 | } | 91 | } | 
| 94 | </style> | 92 | </style> |