style(shopGoodsBrowse): 移除商品名称列的居中对齐
- 删除了商品名称列中多余的 align: 'center' 属性 - 保持了 ellipsis 属性以支持文本省略显示 - 优化了表格列的展示样式一致性
This commit is contained in:
@@ -286,15 +286,15 @@ export const useAppSubscriptionStore = defineStore('appSubscription', {
|
||||
// ============================================================
|
||||
|
||||
/**
|
||||
* 续费
|
||||
* 续费:基于已有订阅创建续费订单,返回新 subscriptionId(再调 pay 发起支付)
|
||||
* @param id 订阅ID
|
||||
* @param period 周期:month/year
|
||||
*/
|
||||
async renew(id: number, period: 'month' | 'year' = 'month'): Promise<string> {
|
||||
async renew(id: number, period: 'month' | 'year' = 'month'): Promise<SubscribeResult> {
|
||||
try {
|
||||
const msg = await renewSubscription(id, period);
|
||||
const result = await renewSubscription(id, period);
|
||||
this.invalidateCache();
|
||||
return msg;
|
||||
return result;
|
||||
} catch (error) {
|
||||
console.error('续费失败:', error);
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user