fix: correct the deprecated note for el-button (#7854)

fix: correct the deprecated note for el-button
This commit is contained in:
0song 2022-05-23 16:30:50 +08:00 committed by GitHub
parent 50ade1267e
commit 0e3ea58421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,8 +65,8 @@ const slots = useSlots()
useDeprecated(
{
from: 'type.link',
replacement: 'text',
from: 'type.text',
replacement: 'type.link',
version: '3.0.0',
scope: 'props',
ref: 'https://element-plus.org/en-US/component/button.html#button-attributes',