feat: 增加日期格式化

- 格式化首页的日期内容
- 修复预览跳转正常使用
This commit is contained in:
Huangzhe
2025-05-23 17:21:22 +08:00
parent c855b846cb
commit 611b37cbf5
3 changed files with 11 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ export const useQuestionStore = defineStore('questionStore', () => {
}
});
data = data.data;
console.log(`data:`, data);
// 多语言
data.languageType = [
data?.survey?.style?.is_en_tips ? 'en' : '',
@@ -65,6 +66,7 @@ export const useQuestionStore = defineStore('questionStore', () => {
// console.log(`l value:`, l.value);
data.language = l.value;
questionsData.value = data;
}
return {