refactor: 使用eslint.config.js替换.eslintrc.js并遵循esm语法 (#786)

This commit is contained in:
xiaoming
2023-11-10 23:18:01 +08:00
committed by GitHub
parent 18158f8e0d
commit 5b7dd8c3e2
102 changed files with 431 additions and 424 deletions

View File

@@ -102,8 +102,8 @@ const handleManageProduct = product => {
新建产品
</el-button>
<el-input
style="width: 300px"
v-model="searchValue"
style="width: 300px"
placeholder="请输入产品名称"
clearable
>
@@ -123,7 +123,6 @@ const handleManageProduct = product => {
element-loading-svg-view-box="-10, -10, 50, 50"
>
<el-empty
description="暂无数据"
v-show="
productList
.slice(
@@ -134,6 +133,7 @@ const handleManageProduct = product => {
v.name.toLowerCase().includes(searchValue.toLowerCase())
).length === 0
"
description="暂无数据"
/>
<template v-if="pagination.total > 0">
<el-row :gutter="16">
@@ -161,8 +161,8 @@ const handleManageProduct = product => {
</el-col>
</el-row>
<el-pagination
class="float-right"
v-model:currentPage="pagination.current"
class="float-right"
:page-size="pagination.pageSize"
:total="pagination.total"
:page-sizes="[12, 24, 36]"