From 9cfb5fbd78e50a29f4fced185ccd455448428c7e Mon Sep 17 00:00:00 2001 From: augushong Date: Fri, 25 Sep 2026 14:30:35 +0000 Subject: [PATCH] =?UTF-8?q?feat(view):=20=E5=95=86=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=BB=98=E8=AE=A4=E5=BD=A2=E6=80=81=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E5=95=86=E5=93=81=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/admin/view/mall/goods/index.js | 2 ++ 1 file changed, 2 insertions(+) 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: '合计:' },