Commit e7b465a4 authored by Xuguangxing's avatar Xuguangxing

feat: 积木列表页增加预览按钮

parent a2c35685
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
{ {
key: 'action', key: 'action',
title: '操作', title: '操作',
width: 200, width: 250,
render: (h, params) => { render: (h, params) => {
const props = { const props = {
type: 'primary', type: 'primary',
...@@ -107,6 +107,21 @@ export default { ...@@ -107,6 +107,21 @@ export default {
margin: '5px', margin: '5px',
}; };
const btnArr = [ const btnArr = [
h(
'Button',
{
props,
style: {
...style,
},
on: {
click: () => {
window.open(`${config.h5Host}/activity/${params.row.uuid}`);
},
},
},
'预览'
),
h( h(
'Button', 'Button',
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment