- 新增 clearSurveys 函数用于清空问卷数据 - 在复制问卷和删除问卷后调用 clearSurveys函数 - 在组件卸载和重置搜索时调用 clearSurveys 函数 - 优化了问卷数据的更新逻辑,解决了内容不更新的问题 - 重新添加了 .prettierrc 文件,规范代码格式
9 lines
163 B
Plaintext
9 lines
163 B
Plaintext
{
|
|
"$schema": "https://json.schemastore.org/prettierrc",
|
|
"semi": true,
|
|
"tabWidth": 2,
|
|
"singleQuote": true,
|
|
"printWidth": 100,
|
|
"trailingComma": "none"
|
|
}
|