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

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 : plan.price_usd
)}/`, )}/`,
sublabel: ' ', sublabel: ' ',
plan_title: plan.title,
...plan, ...plan,
features: plan.features.map(f => ({ features: plan.features.map(f => ({
value: f, value: f,

View File

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

View File

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