Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: vxe table的工具栏,“打印”按钮报错 #5310

Open
5 tasks done
petric opened this issue Jan 5, 2025 · 0 comments
Open
5 tasks done

Bug: vxe table的工具栏,“打印”按钮报错 #5310

petric opened this issue Jan 5, 2025 · 0 comments

Comments

@petric
Copy link

petric commented Jan 5, 2025

Version

Vben Admin V5

Describe the bug?

vxe table的工具栏,点击“打印”按钮,控制台报错:uncaught(in promise) {status: false}。
在系统自带的playground的例子中,添加打印按钮,现象相同。

image

Reproduction

部分参数:

const gridOptions: VxeTableGridOptions = {
treeConfig: {
rowField: 'Id',
childrenField: 'children',
},
checkboxConfig: {
highlight: true,
labelField: 'name',
},
columns: orgtableColumns(),
height: 'auto',
keepSource: true,
exportConfig: {},
pagerConfig: {},
printConfig: {},
toolbarConfig: {
custom: true,
export: true,
print: true,
refresh: true,
resizable: true,
search: true,
zoom: true,
},

System Info

操作系统:
版本	Windows 11 专业版
版本号	24H2
安装日期	‎2024/‎11/‎2
操作系统版本	26100.2605
体验	Windows 功能体验包 1000.26100.36.0

浏览器:
Microsoft Edge
版本 131.0.2903.112 (正式版本) (64 位)

Relevant log output

Uncaught (in promise)   
{status: false}

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant