refactor(Survey): 优化移动端模板保存提示信息

- 修改了模板校验失败时的提示信息,明确指出移动端不支持的题型
- 建议用户在 PC 端编辑后重新保存
This commit is contained in:
Huangzhe
2025-05-26 21:16:38 +08:00
parent d58df5727a
commit e587ed96b2

View File

@@ -80,8 +80,8 @@ async function saveTemplate(item: SurveyItem) {
// 如果没有通过校验, 弹出提示窗不进行下一步
if (!(await validateSurvey(data))) {
showDialog({
title: '模板校验失败',
message: '问卷内存在移动端不支持的题型'
title: '无法保存模板',
message: '问卷内包含移动端暂未兼容题型请至PC端编辑后重新保存。'
});
return;
}