mod vue2 to vue3

This commit is contained in:
chenhaodong
2026-06-18 01:44:25 +08:00
parent 109204734a
commit d30ff1a362
124 changed files with 951 additions and 2183 deletions
+2 -13
View File
@@ -8,7 +8,7 @@
:list-query="listQuery"
>
<template slot="filter-content">
<template #filter-content>
<el-select v-model="listQuery.params.title" clearable class="filter-item">
<el-option
v-for="item in types"
@@ -20,7 +20,7 @@
<el-input v-model="listQuery.params.userName" clearable placeholder="操作人" style="width: 200px;" class="filter-item" />
</template>
<template slot="data-columns">
<template #data-columns>
<el-table-column
label="日志类型"
@@ -55,17 +55,6 @@ import DataTable from '@/components/DataTable'
export default {
name: 'SysLogList',
components: { DataTable },
filters: {
// 订单状态
userState(value) {
const map = {
'0': '正常',
'1': '禁用'
}
return map[value]
}
},
data() {
return {