diff --git a/extend/base/admin/view/mall/goods/index.js b/extend/base/admin/view/mall/goods/index.js index 4f40caf..c6a6db1 100644 --- a/extend/base/admin/view/mall/goods/index.js +++ b/extend/base/admin/view/mall/goods/index.js @@ -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: '合计:' },