feat(view): 商品列表默认形态改为商品模板

This commit is contained in:
augushong
2026-09-25 14:30:35 +00:00
parent b246bc0d71
commit 9cfb5fbd78

View File

@@ -11,6 +11,8 @@ $(function () {
// 出现"视图"切换按钮;受控是默认数据流,controlled 缺省即受控,视图切换
// 经 store 当页数据完成,零网络请求。
layoutList: ['table', {name: 'goodscard', title: '商品', tplVueId: '#goodscardTpl'}, 'card'],
// 默认形态:字符串旧写法,双端同值(PC 与手机默认均为商品模板)
layoutDefault: 'goodscard',
cols: [[
{ type: "checkbox" },
{ field: 'id', width: 80, title: 'ID', totalRowText: '合计:' },