fix: 修改新增用户商品的配置项逻辑
Build and Deploy Vue3 / build (push) Successful in 4m9s
Build and Deploy Vue3 / deploy (push) Successful in 1m3s

This commit is contained in:
2026-04-06 18:44:11 +08:00
parent c07e09c151
commit f0e89695f4
36 changed files with 2078 additions and 190 deletions
+4 -4
View File
@@ -905,7 +905,7 @@ const loadChildren = async (row) => {
try {
const groupId = row.data.id
console.log('Loading children for group:', groupId)
const res = await getSettingList({ group_id: groupId, page: 1, count: 100 })
const res = await getSettingList({ group_id: groupId, page: 1, count: 10 })
console.log('getSettingList response:', res.data)
if (res.data.code === 200) {
let settings = res.data.data.data || []
@@ -958,7 +958,7 @@ const toggleExpand = async (row) => {
// 初始化加载配置组
const loadGroups = async () => {
try {
const res = await getSettingGroupList({ page: 1, count: 100 })
const res = await getSettingGroupList({ page: 1, count: 10 })
console.log('getSettingGroupList response:', res.data)
if (res.data.code === 200) {
const groups = res.data.data.data || []
@@ -1322,7 +1322,7 @@ const fetchGroupList = async () => {
const fetchAllGroupList = async () => {
try {
const res = await getSettingGroupList({ page: 1, count: 100 })
const res = await getSettingGroupList({ page: 1, count: 10 })
if (res.data.code === 200) {
allGroupList.value = res.data.data.data || []
}
@@ -2560,7 +2560,7 @@ const handleCopyGroupSettings = async (row) => {
if (row._expanded && row._children && row._children.length > 0) {
settings = row._children.map(child => child.data)
} else {
const res = await getSettingList({ group_id: groupId, page: 1, count: 100 })
const res = await getSettingList({ group_id: groupId, page: 1, count: 10 })
if (res.data.code === 200) {
settings = res.data.data.data || []
}