mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
style:table渲染图片 修改弹窗类名
This commit is contained in:
@@ -1485,6 +1485,28 @@ export default {
|
||||
width: 50,
|
||||
align: "center",
|
||||
className: "h",
|
||||
customRender: (text) => {
|
||||
if (text.record.rank == "1") {
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
width: 24,
|
||||
height: 24,
|
||||
backgroundImage:
|
||||
"url(" +
|
||||
require("../../assets/images/taskpage/one.png") +
|
||||
")",
|
||||
}}
|
||||
>fewfwe</div>
|
||||
);
|
||||
} else if (text.record.rank == "2") {
|
||||
return <div>ggg</div>;
|
||||
} else if (text.record.rank == "3") {
|
||||
return <div>ggg</div>;
|
||||
} else {
|
||||
return <div>{text.record.rank}</div>;
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "名称",
|
||||
|
||||
Reference in New Issue
Block a user