feat: menus support for multiple languages (#299)

This commit is contained in:
Fine0830
2023-07-12 18:07:34 +08:00
committed by GitHub
parent 5367af47c4
commit 077b68ebbd
23 changed files with 402 additions and 129 deletions

View File

@@ -48,8 +48,8 @@ limitations under the License. -->
/>
</div>
<el-pagination
v-model:currentPage="pageNum"
v-model:page-size="pageSize"
v-model="pageNum"
:page-size="pageSize"
layout="prev, pager, next"
:total="total"
@current-change="updatePage"

View File

@@ -19,8 +19,8 @@ limitations under the License. -->
</LogTable>
<div class="mt-5 mb-5">
<el-pagination
v-model:currentPage="logStore.conditions.paging.pageNum"
v-model:page-size="pageSize"
v-model="logStore.conditions.paging.pageNum"
:page-size="pageSize"
:small="true"
layout="prev, pager, next"
:pager-count="5"

View File

@@ -14,8 +14,8 @@ limitations under the License. -->
<div class="trace-t flex-v">
<div class="trace-t-tool flex-h">
<el-pagination
v-model:currentPage="traceStore.conditions.paging.pageNum"
v-model:page-size="pageSize"
v-model="traceStore.conditions.paging.pageNum"
:page-size="pageSize"
:small="true"
layout="prev, pager, next"
:pager-count="5"
@@ -128,7 +128,7 @@ limitations under the License. -->
</script>
<style lang="scss" scoped>
.trace-t-tool {
background-color: rgba(196, 200, 225, 0.2);
background-color: rgb(196 200 225 / 20%);
justify-content: space-between;
border-bottom: 1px solid #c1c5ca41;
border-right: 1px solid #c1c5ca41;
@@ -141,7 +141,7 @@ limitations under the License. -->
.trace-t-wrapper {
overflow: auto;
border-right: 1px solid rgba(0, 0, 0, 0.1);
border-right: 1px solid rgb(0 0 0 / 10%);
}
.trace-t-loading {
@@ -169,13 +169,13 @@ limitations under the License. -->
.trace-tr {
&:hover {
background-color: rgba(0, 0, 0, 0.04);
background-color: rgb(0 0 0 / 4%);
}
}
.trace-td {
padding: 5px;
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
border-bottom: 1px solid rgb(0 0 0 / 7%);
&.selected {
background-color: #ededed;
@@ -183,7 +183,7 @@ limitations under the License. -->
}
.trace-success {
border-left: 4px solid rgba(46, 47, 51, 0.1);
border-left: 4px solid rgb(46 47 51 / 10%);
}
.trace-warning {

View File

@@ -111,8 +111,8 @@ limitations under the License. -->
</el-dialog>
<el-dialog v-model="showRelatedLogs" :destroy-on-close="true" fullscreen @closed="showRelatedLogs = false">
<el-pagination
v-model:currentPage="pageNum"
v-model:page-size="pageSize"
v-model="pageNum"
:page-size="pageSize"
:small="true"
layout="prev, pager, next"
:pager-count="5"