refactor: fix building warnings

This commit is contained in:
Fine 2023-07-12 14:51:36 +08:00
parent 5367af47c4
commit 1ecfdb5a7c
10 changed files with 17 additions and 18 deletions

View File

@ -32,7 +32,7 @@ export const routesMarketplace: Array<RouteRecordRaw> = [
{
path: "/marketplace",
name: "MenusManagement",
component: () => import("@/views/marketplace/Menus.vue"),
component: () => import("@/views/Marketplace.vue"),
},
],
},

View File

@ -32,7 +32,7 @@ export const routesSettings: Array<RouteRecordRaw> = [
{
path: "/settings",
name: "Settings",
component: () => import("@/views/marketplace/Settings.vue"),
component: () => import("@/views/Settings.vue"),
},
],
},

View File

@ -32,8 +32,8 @@ limitations under the License. -->
</div>
<div class="pagination">
<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="changePage"

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"

View File

@ -80,7 +80,6 @@ export default ({ mode }: ConfigEnv): UserConfig => {
},
build: {
target: "esnext",
cssTarget: "chrome80",
outDir: OUTPUT_DIR,
manifest: false,
sourcemap: false,