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: "规格", label: "规格",
prop: "specs", prop: "specs",
type: "input", type: "dynamic",
addDisplay: false, span: 24,
editDisplay: false, children:{
rowAdd: (done)=>{
done();
},
rowDel: (row, done) => {
done();
},
column: [
{
label: "名称",
prop: "attr",
},
{
label: "值",
prop: "value",
}
],
},
formatter: (row, value, cellValue) => { formatter: (row, value, cellValue) => {
if (!Array.isArray(value)) return ''; if (!Array.isArray(value)) return '';
return value.map(s => `${s.attr}:${s.value}`).join('; '); return value.map(s => `${s.attr}:${s.value}`).join('; ');