Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
726730bb
Commit
726730bb
authored
Mar 30, 2026
by
erio
Browse files
fix(channel): splice替换model_pricing条目 + 增强调试日志
parent
faff1771
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/admin/ChannelsView.vue
View file @
726730bb
...
...
@@ -642,7 +642,7 @@ function addPricingEntry(sectionIdx: number) {
}
function
updatePricingEntry
(
sectionIdx
:
number
,
idx
:
number
,
updated
:
PricingFormEntry
)
{
form
.
platforms
[
sectionIdx
].
model_pricing
[
idx
]
=
updated
form
.
platforms
[
sectionIdx
].
model_pricing
.
splice
(
idx
,
1
,
updated
)
}
function
removePricingEntry
(
sectionIdx
:
number
,
idx
:
number
)
{
...
...
@@ -877,6 +877,7 @@ async function handleSubmit() {
}
const
{
group_ids
,
model_pricing
,
model_mapping
}
=
formToAPI
()
console
.
log
(
'
[handleSubmit] model_pricing to send:
'
,
JSON
.
stringify
(
model_pricing
))
submitting
.
value
=
true
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment