element-plus icon indicating copy to clipboard operation
element-plus copied to clipboard

[TypeScript] [pagination] 2.7.2版本pagination警告label

Open qiuhengyu opened this issue 1 year ago • 1 comments

Bug Type: TypeScript

Environment

  • Vue Version: 3.4.21
  • Element Plus Version: 2.7.2
  • Browser / OS: chrome
  • Build Tool: Vite

Reproduction

Related Component

  • el-pagination

Reproduction Link

Element Plus Playground

Steps to reproduce

<template>
     <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="pageListObj.pageNumber"
        :page-sizes="pageListObj.pageSizeArr"
        :page-size="pageListObj.pageSize"
        layout="total, sizes, prev, pager, next, jumper"
        :total="pageListObj.total">
    </el-pagination>
</template>

What is Expected?

内部使用了label吗?就一个page组件,页面上没有label

What is actually happening?

index.vue:304 ElementPlusError: [el-input] [API] label is about to be deprecated in version 2.8.0, please use aria-label instead. For more detail, please visit: https://element-plus.org/en-US/component/input.html

Additional comments

(empty)

qiuhengyu avatar May 10 '24 09:05 qiuhengyu

fixed by https://github.com/element-plus/element-plus/pull/16682

Liao-js avatar May 10 '24 09:05 Liao-js

2.7.3 已修复发版。

btea avatar May 13 '24 11:05 btea

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

github-actions[bot] avatar Jun 12 '24 16:06 github-actions[bot]