x-extends / vxe-table

Vxe table 的表格组件
https://vxetable.cn
MIT License
7.67k stars 1.06k forks source link

vxe-table 4.6.19 Warning 问题 #2561

Open zusrsoft opened 2 months ago

zusrsoft commented 2 months ago

可复现的链接(包含复现链接与示例代码):

//

问题描述与截图:

  vxe-table:
    specifier: ^4.6.3
    version: 4.6.19(vue@3.5.6(typescript@5.6.2))
  vxe-table-plugin-export-xlsx:
    specifier: ^4.0.1
    version: 4.0.5(vxe-table@4.6.19(vue@3.5.6(typescript@5.6.2)))
  xe-utils:
    specifier: ^3.5.25
    version: 3.5.30

警告如下:

Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

Deprecation Warning: lighten() is deprecated. Suggestions:

color.scale($color, $lightness: 16.3461538462%) color.adjust($color, $lightness: 10%)

More info: https://sass-lang.com/d/color-functions

╷ 23 │ $vxe-font-lighten-color: lighten($vxe-font-color, 10%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\variable.scss 23:26 @import node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\index.scss 3:9 @import src\components\VxeTable\src\css\index.scss 5:9 root stylesheet

Deprecation Warning: lighten() is deprecated. Suggestions:

color.scale($color, $lightness: 26.7015706806%) color.adjust($color, $lightness: 10%)

More info: https://sass-lang.com/d/color-functions

╷ 24 │ $vxe-primary-lighten-color: lighten($vxe-primary-color, 10%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\variable.scss 24:29 @import node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\index.scss 3:9 @import src\components\VxeTable\src\css\index.scss 5:9 root stylesheet

Deprecation Warning: lighten() is deprecated. Suggestions:

color.scale($color, $lightness: 19.7674418605%) color.adjust($color, $lightness: 10%)

More info: https://sass-lang.com/d/color-functions

╷ 25 │ $vxe-success-lighten-color: lighten($vxe-success-color, 10%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\variable.scss 25:29 @import node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\index.scss 3:9 @import src\components\VxeTable\src\css\index.scss 5:9 root stylesheet

Deprecation Warning: lighten() is deprecated. Suggestions:

color.scale($color, $lightness: 23.9436619718%) color.adjust($color, $lightness: 10%)

More info: https://sass-lang.com/d/color-functions

╷ 26 │ $vxe-info-lighten-color: lighten($vxe-info-color, 10%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\variable.scss 26:26 @import index.scss 3:9 @import color.scale($color, $lightness: 23.1818181818%) root stylesheet color.adjust($color, $lightness: 10%)

More info: https://sass-lang.com/d/color-functions

╷ 27 │ $vxe-warning-lighten-color: lighten($vxe-warning-color, 10%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\variable.scss 27:29 @import node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\index.scss 3:9 @import src\components\VxeTable\src\css\index.scss 5:9 variable.scss 27:29 @import root stylesheet index.scss 3:9 @import root stylesheet Warning: 12 repetitive deprecation warnings omitted.

color.scale($color, $lightness: 23.1818181818%) color.adjust($color, $lightness: 10%) 21:54:13
More info: https://sass-lang.com/d/color-functions

╷ 27 │ $vxe-warning-lighten-color: lighten($vxe-warning-color, 10%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\variable.scss 27:29 @import node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\index.scss 3:9 @import src\components\VxeTable\src\css\index.scss 5:9 root stylesheet

Warning: 12 repetitive deprecation warnings omitted.

More info: https://sass-lang.com/d/color-functions

╷ 27 │ $vxe-warning-lighten-color: lighten($vxe-warning-color, 10%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\variable.scss 27:29 @import node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\index.scss 3:9 @import src\components\VxeTable\src\css\index.scss 5:9 root stylesheet

Warning: 12 repetitive deprecation warnings omitted.

27 │ $vxe-warning-lighten-color: lighten($vxe-warning-color, 10%) !default; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\variable.scss 27:29 @import node_modules.pnpm\vxe-table@4.6.19_vue@3.5.6typescript@5.6.2\node_modules\vxe-table\styles\index.scss 3:9 @import src\components\VxeTable\src\css\index.scss 5:9 root stylesheet

Warning: 12 repetitive deprecation warnings omitted.

index.scss 3:9 @import src\components\VxeTable\src\css\index.scss 5:9 root stylesheet

Warning: 12 repetitive deprecation warnings omitted.

                 root stylesheet

Warning: 12 repetitive deprecation warnings omitted.

Warning: 12 repetitive deprecation warnings omitted.

WARN [@vue/compiler-sfc] defineProps is a compiler macro and no longer needs to be imported.

期望的结果:

修复

操作系统:

win 10

浏览器版本:

chrome 128

vue 版本:

3.5.6

vxe-pc-ui 版本:

vxe-table 4.6.19

vxe-table 版本:

vxe-table 4.6.19

是否使用当前最新版本?

xuliangzhan commented 1 month ago

fix v4.6.20

zusrsoft commented 1 month ago

excellent