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