mod vue2 to vue3
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user