feat: 增加日期格式化
- 格式化首页的日期内容 - 修复预览跳转正常使用
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user