fix: style

This commit is contained in:
Fine 2023-06-12 20:53:31 +08:00
parent 0bf79914fe
commit c67b24a39d
3 changed files with 3 additions and 2 deletions

View File

@ -121,7 +121,7 @@ export const continousProfilingStore = defineStore({
id: index, id: index,
}; };
}); });
this.setSelectedStrategy(list[0] || {}); this.setSelectedStrategy(this.strategyList[0]);
if (!this.selectedStrategy.type) { if (!this.selectedStrategy.type) {
return res.data; return res.data;
} }

View File

@ -22,6 +22,7 @@ declare module '@vue/runtime-core' {
ElMenuItemGroup: typeof import('element-plus/es')['ElMenuItemGroup'] ElMenuItemGroup: typeof import('element-plus/es')['ElMenuItemGroup']
ElOption: typeof import('element-plus/es')['ElOption'] ElOption: typeof import('element-plus/es')['ElOption']
ElPagination: typeof import('element-plus/es')['ElPagination'] ElPagination: typeof import('element-plus/es')['ElPagination']
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
ElPopover: typeof import('element-plus/es')['ElPopover'] ElPopover: typeof import('element-plus/es')['ElPopover']
ElProgress: typeof import('element-plus/es')['ElProgress'] ElProgress: typeof import('element-plus/es')['ElProgress']
ElRadio: typeof import('element-plus/es')['ElRadio'] ElRadio: typeof import('element-plus/es')['ElRadio']

View File

@ -71,7 +71,7 @@ limitations under the License. -->
.item { .item {
width: 100%; width: 100%;
overflow: auto; overflow: auto;
height: calc(100% - 100px); height: calc(100% - 270px);
padding-bottom: 10px; padding-bottom: 10px;
} }