diff --git a/app/admin/controller/user/MoneyLog.php b/app/admin/controller/user/MoneyLog.php index e2cbfba6..32d49cb0 100644 --- a/app/admin/controller/user/MoneyLog.php +++ b/app/admin/controller/user/MoneyLog.php @@ -19,7 +19,7 @@ class MoneyLog extends Backend // 排除字段 protected $preExcludeFields = ['createtime']; - protected $quickSearchField = ['username', 'nickname']; + protected $quickSearchField = ['user.username', 'user.nickname']; public function initialize() { diff --git a/web/src/components/table/index.vue b/web/src/components/table/index.vue index 0808b1e4..5190d7c3 100644 --- a/web/src/components/table/index.vue +++ b/web/src/components/table/index.vue @@ -205,7 +205,7 @@ defineExpose({ .ba-data-table :deep(.el-button + .el-button) { margin-left: 6px; } -:deep(.table-header-cell) .cell { +:deep(.ba-data-table) .table-header-cell .cell { color: var(--color-text-primary); overflow: hidden; text-overflow: ellipsis; diff --git a/web/src/views/backend/user/moneyLog/form.vue b/web/src/views/backend/user/moneyLog/form.vue index 7459a2fc..27eb5432 100644 --- a/web/src/views/backend/user/moneyLog/form.vue +++ b/web/src/views/backend/user/moneyLog/form.vue @@ -71,7 +71,7 @@ diff --git a/web/src/views/backend/user/user/form.vue b/web/src/views/backend/user/user/form.vue index 44ea33aa..921c5617 100644 --- a/web/src/views/backend/user/user/form.vue +++ b/web/src/views/backend/user/user/form.vue @@ -207,6 +207,7 @@ const onAvatarBeforeUpload = (file: any) => { } const changeAccount = (type: string) => { + baTable.toggleForm() router.push({ name: type == 'money' ? 'user/moneyLog' : 'user/scoreLog', query: {