File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ function PurchaseActionPopover({
255255} : {
256256 buttonLabel : string ;
257257 emptyText ?: string ;
258- hint : string ;
258+ hint ? : string ;
259259 loading : boolean ;
260260 title ?: string ;
261261 titleNote ?: string ;
@@ -277,9 +277,11 @@ function PurchaseActionPopover({
277277 ) }
278278 </ div >
279279 ) }
280- < div className = "px-2 pt-1 pb-2 text-slate-500 text-xs leading-relaxed" >
281- { hint }
282- </ div >
280+ { hint && (
281+ < div className = "px-2 pt-1 pb-2 text-slate-500 text-xs leading-relaxed" >
282+ { hint }
283+ </ div >
284+ ) }
283285 < div className = "flex flex-col gap-1" >
284286 { options . length > 0 ? (
285287 options . map ( ( option ) => (
@@ -537,7 +539,6 @@ const RenewalPurchaseButton = ({
537539 return (
538540 < PurchaseActionPopover
539541 buttonLabel = { loadingPlan ? '跳转中' : '续费' }
540- hint = "选择续费时长;月付累计达到年付价后直接选择年付。"
541542 loading = { loadingPlan !== null }
542543 title = "续费"
543544 titleNote = {
You can’t perform that action at this time.
0 commit comments