style(frontend): 修复 prettier 格式门禁

三个本分支改动的文件未过 prettier --check,导致 npm run check 与部署门禁红灯。
按项目风格重新排版后台分销站点页、移动端发布页与定价计算 composable,不改动任何逻辑。

验证:npx prettier --check . 通过;npm run check(format + eslint --max-warnings=0 + vue-tsc)通过;vitest 7 文件 / 32 用例通过。
This commit is contained in:
yml2213
2026-09-16 12:49:21 +08:00
parent c9d9160ff4
commit 8ec53f9d3d
3 changed files with 15 additions and 4 deletions
@@ -94,7 +94,10 @@ export function usePricingCalculator(options: {
const calculatedRatio = computed(() => {
if (calculatedDefaultSaleRatio.value <= 0) return 0
if (options.isDistribution?.value) {
return applySiteReceiveRatioDelta(calculatedDefaultSaleRatio.value, siteReceiveRatioDelta.value)
return applySiteReceiveRatioDelta(
calculatedDefaultSaleRatio.value,
siteReceiveRatioDelta.value
)
}
return readFinalSaleRatio(
calculatedDefaultSaleRatio.value,