mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
refactor: 使用eslint.config.js替换.eslintrc.js并遵循esm语法 (#786)
This commit is contained in:
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user