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
+3 -3
View File
@@ -666,7 +666,7 @@ const toLoad = async (data) => {
})
form.server_id = data
nowserver_id.value = data
let res = await getServerPlan({server_id:data,count:100})
let res = await getServerPlan({server_id:data,count:10})
planlist.value = res.data.data.map(item => {
return {
name: item.name,
@@ -748,7 +748,7 @@ const fetchCategoryList = async (serverId) => {
// 编辑镜像
const handleEdit = async (data) => {
try {
let res = await getServerPlan({server_id: data.server_id,count: 100})
let res = await getServerPlan({server_id: data.server_id,count: 10})
if (res.data && res.data.data) {
planlist.value = res.data.data.map(item => {
return {
@@ -874,7 +874,7 @@ const getit = async () => {
// 选择图片
const picPagin = reactive({
count: 50,
count: 10,
page: 1,
key: '',
user_type: 1
+1 -1
View File
@@ -262,7 +262,7 @@ const categoryRules = {
// 素材库相关
const picSwitch = ref(false)
const picPagin = reactive({
count: 50,
count: 10,
page: 1,
key: '',
user_type: 1
+2 -2
View File
@@ -244,7 +244,7 @@ const showNewCategoryInput = ref(false)
const picSwitch = ref(false)
const picLoading = ref(false)
const picPagin = reactive({
count: 20,
count: 10,
page: 1,
key: '',
user_type: 1
@@ -314,7 +314,7 @@ const initData = async () => {
// Fallback: fetch list and find item
const listRes = await getUserMirrorList({
server_id: serverId.value,
count: 100,
count: 10,
page: 1
})
if (listRes.data.code === 200) {
+2 -2
View File
@@ -1901,7 +1901,7 @@ const GetSpecs = async () => {
try {
let plans = await getServerPlan({
server_id: route.query.server_id,
count: 30
count: 10
});
spec_list.value = plans.data.data;
} catch (error) {
@@ -2430,7 +2430,7 @@ const fetchContainerMirrorList = async () => {
containerMirrorLoading.value = true;
try {
const response = await getMirrorList({server_id: route.query.server_id, page: 1, count: 999,key: '',class_id: ''});
const response = await getMirrorList({server_id: route.query.server_id, page: 1, count: 10,key: '',class_id: ''});
console.log("获取镜像列表1111",response);
if (response && response.data && response.data.code === 200) {