Commit 2a30762eece812dbb60169d2390058fe42ccca40
Merge branch 'perf/sfc-complier' into 'main_dev'
perf: 优化开发环境编译时报错 See merge request yunteng/thingskit-front!1494
Showing
16 changed files
with
19 additions
and
21 deletions
... | ... | @@ -177,7 +177,7 @@ |
177 | 177 | class="p-2 bg-gray-200 flex flex-col" |
178 | 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 | 181 | <div class="font-bold"> |
182 | 182 | <span>function</span> |
183 | 183 | <span class="ml-1">{{ functionName }}</span> |
... | ... | @@ -203,7 +203,7 @@ |
203 | 203 | </Tooltip> |
204 | 204 | <slot name="afterFullScreen"></slot> |
205 | 205 | </div> |
206 | - </head> | |
206 | + </header> | |
207 | 207 | <main ref="javaScriptEditorElRef" class="flex-auto"> </main> |
208 | 208 | <footer class="font-bold">}</footer> |
209 | 209 | </section> | ... | ... |
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <div ref="chartRef" :style="{ height, width }"></div> |
4 | 4 | </template> |
5 | 5 | <script lang="ts" setup> |
6 | - import { ref, Ref, withDefaults, onMounted, watch } from 'vue'; | |
6 | + import { ref, Ref, onMounted, watch } from 'vue'; | |
7 | 7 | import { useECharts } from '/@/hooks/web/useECharts'; |
8 | 8 | import { getTrendData } from '/@/api/dashboard'; |
9 | 9 | import { t } from '/@/hooks/web/useI18n'; | ... | ... |
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | </div> |
6 | 6 | </template> |
7 | 7 | <script lang="ts" setup> |
8 | - import { onMounted, ref, Ref, withDefaults, watch } from 'vue'; | |
8 | + import { onMounted, ref, Ref, watch } from 'vue'; | |
9 | 9 | import { useECharts } from '/@/hooks/web/useECharts'; |
10 | 10 | import { Empty } from 'ant-design-vue'; |
11 | 11 | import { useI18n } from '/@/hooks/web/useI18n'; | ... | ... |
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | </div> |
6 | 6 | </template> |
7 | 7 | <script lang="ts" setup> |
8 | - import { ref, Ref, watch, withDefaults, onMounted } from 'vue'; | |
8 | + import { ref, Ref, watch, onMounted } from 'vue'; | |
9 | 9 | import { useECharts } from '/@/hooks/web/useECharts'; |
10 | 10 | import { Empty } from 'ant-design-vue'; |
11 | 11 | import { useI18n } from '/@/hooks/web/useI18n'; | ... | ... |