提交 01f4f28b 编写于 作者: Q qq_38870145

Auto Commit

上级 73b4be4c
...@@ -10,7 +10,7 @@ import html2canvas from 'html2canvas'; ...@@ -10,7 +10,7 @@ import html2canvas from 'html2canvas';
// state // state
const state = reactive({ const state = reactive({
current: 'Visual' current: 'grade查询分数'
}) })
/** 下载图片 */ /** 下载图片 */
......
...@@ -79,7 +79,7 @@ const rowSelection = { ...@@ -79,7 +79,7 @@ const rowSelection = {
state.selectedRows = selectedRows state.selectedRows = selectedRows
}, },
getCheckboxProps: (record) => ({ getCheckboxProps: (record) => ({
disabled: record.name === 'Disabled User', // Column configuration not to be checked disabled: false, // Column configuration not to be checked
name: record.name, name: record.name,
}) })
} }
...@@ -138,7 +138,7 @@ onUnmounted(() => { ...@@ -138,7 +138,7 @@ onUnmounted(() => {
<div> <div>
<ExportBtn :table-data="exportTableData" :user-id="state.searchValue" /> <ExportBtn :table-data="exportTableData" :user-id="state.searchValue" />
<a-table :scroll="{ x: 800, y: 600 }" :columns="state.columns" :row-selection="rowSelection" <a-table rowKey="url" :scroll="{ x: 800, y: 600 }" :columns="state.columns" :row-selection="rowSelection"
:data-source="state.dataSource" :loading="state.loading" :pagination="state.pagination" bordered :data-source="state.dataSource" :loading="state.loading" :pagination="state.pagination" bordered
style="border-bottom:1px solid #f0f0f0;"> style="border-bottom:1px solid #f0f0f0;">
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册