fix: rating

This commit is contained in:
zzc
2026-06-09 23:59:13 +08:00
parent d4478cccd8
commit 0e0d9604e1

View File

@@ -335,10 +335,24 @@ const handleSubmit = async () => {
uni.hideLoading();
uni.showToast({
title: "发布成功",
title: "已提交审核",
icon: "success",
});
// 初始化表单内容
Object.assign(formData, {
title: "",
description: "",
coverUrl: "",
categoryId: "",
});
// 初始化评分对象列表为默认的两个空项
participants.value = [
{ name: "", coverUrl: "" },
{ name: "", coverUrl: "" },
];
smartNavigateBack({ delay: 1500 });
} catch (error) {
uni.hideLoading();