From 089bf5d2378b3c4a61d795b2a92bede2c193b771 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 11:22:58 +0800
Subject: [PATCH] 1
---
src/crud/user/user.js | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/src/crud/user/user.js b/src/crud/user/user.js
new file mode 100644
index 0000000..0005481
--- /dev/null
+++ b/src/crud/user/user.js
@@ -0,0 +1,52 @@
+export const tableOption = {
+ searchMenuSpan: 6,
+ columnBtn: false,
+ border: true,
+ // selection: true,
+ index: false,
+ indexLabel: '序号',
+ stripe: true,
+ menuAlign: 'center',
+ menuWidth: 350,
+ align: 'center',
+ refreshBtn: true,
+ searchSize: 'mini',
+ addBtn: false,
+ editBtn: false,
+ delBtn: false,
+ viewBtn: false,
+ props: {
+ label: 'label',
+ value: 'value'
+ },
+ column: [{
+ label: '用户昵称',
+ prop: 'nickName',
+ search: true
+ }, {
+ label: '用户头像',
+ prop: 'pic',
+ type: 'upload',
+ imgWidth: 150,
+ listType: 'picture-img'
+ }, {
+ label: '状态',
+ prop: 'status',
+ search: true,
+ type: 'select',
+ slot: true,
+ dicData: [
+ {
+ label: '禁用',
+ value: 0
+ }, {
+ label: '正常',
+ value: 1
+ }
+ ]
+ }, {
+ label: '注册时间',
+ prop: 'userRegtime',
+ imgWidth: 150
+ }]
+}
--
Gitblit v1.9.3