1. add category
This commit is contained in:
2026-02-09 15:44:07 +08:00
parent 9f56bc32dd
commit be9f2032bc

View File

@@ -71,9 +71,26 @@ export default {
{
label: "规格",
prop: "specs",
type: "input",
addDisplay: false,
editDisplay: false,
type: "dynamic",
span: 24,
children:{
rowAdd: (done)=>{
done();
},
rowDel: (row, done) => {
done();
},
column: [
{
label: "名称",
prop: "attr",
},
{
label: "值",
prop: "value",
}
],
},
formatter: (row, value, cellValue) => {
if (!Array.isArray(value)) return '';
return value.map(s => `${s.attr}:${s.value}`).join('; ');