review:【mall 商城】promotion 相关代码

This commit is contained in:
YunaiV
2025-09-02 20:59:21 +08:00
parent bb97aca0be
commit 5e85efb23e
7 changed files with 17 additions and 15 deletions

View File

@@ -29,23 +29,23 @@ function onRefresh() {
gridApi.query();
}
/** 创建DIY页面 */
/** 创建 DIY 页面 */
function handleCreate() {
formModalApi.setData(null).open();
}
/** 编辑DIY页面 */
/** 编辑 DIY 页面 */
function handleEdit(row: MallDiyPageApi.DiyPage) {
formModalApi.setData(row).open();
}
// TODO @霖:貌似跳转不过去;
/** 装修页面 */
function handleDecorate(row: MallDiyPageApi.DiyPage) {
// 跳转到装修页面
push({ name: 'DiyPageDecorate', params: { id: row.id } });
}
/** 删除DIY页面 */
/** 删除 DIY 页面 */
async function handleDelete(row: MallDiyPageApi.DiyPage) {
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.name]),