修复安装应用弹窗计划标题不显示

This commit is contained in:
jingrow 2025-04-22 14:36:02 +08:00
parent 8840cd236e
commit 2f04bd8c22
3 changed files with 10 additions and 8 deletions

View File

@ -59,6 +59,7 @@ export default {
: plan.price_usd
)}/`,
sublabel: ' ',
plan_title: plan.title,
...plan,
features: plan.features.map(f => ({
value: f,

View File

@ -970,9 +970,9 @@ def get_plans(name=None, rg=None):
out = []
for plan in plans:
if is_paywalled_bench and plan.price_cny == 10:
if is_paywalled_bench and plan.price_cny >= 99:
continue
if not plan.allow_downgrading_from_other_plan and plan.price_cny == 5:
if not plan.allow_downgrading_from_other_plan and plan.price_cny >= 99:
continue
if not on_dedicated_server and plan.dedicated_server_plan:
continue

View File

@ -27,11 +27,6 @@
"fieldtype": "Check",
"label": "Enabled"
},
{
"fieldname": "title",
"fieldtype": "Data",
"label": "Title"
},
{
"fieldname": "app",
"fieldtype": "Link",
@ -97,11 +92,17 @@
"fieldtype": "Table",
"label": "Roles",
"options": "Has Role"
},
{
"fieldname": "title",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Title"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-04-22 12:13:31.623301",
"modified": "2025-04-22 14:23:22.929746",
"modified_by": "Administrator",
"module": "Marketplace",
"name": "Marketplace App Plan",