|
@@ -615,7 +615,7 @@ export default {
|
|
|
});
|
|
|
|
|
|
// 获取并处理传递过来的模板位置数据
|
|
|
- const projectDataStr = this.$route.query.projectData;
|
|
|
+ /* const projectDataStr = this.$route.query.projectData;
|
|
|
if (projectDataStr) {
|
|
|
try {
|
|
|
const projectData = JSON.parse(decodeURIComponent(projectDataStr));
|
|
@@ -634,7 +634,7 @@ export default {
|
|
|
} catch (error) {
|
|
|
console.error("解析项目数据失败:", error);
|
|
|
}
|
|
|
- }
|
|
|
+ } */
|
|
|
this.init();
|
|
|
},
|
|
|
|
|
@@ -1311,9 +1311,6 @@ export default {
|
|
|
const res = await projectListFromTemplate(
|
|
|
/* create_items */ {
|
|
|
project_id: this.selectedProjectId,
|
|
|
- /* project_name: this.projectOptions.find(
|
|
|
- (p) => p.id === this.selectedProjectId
|
|
|
- ).name `成功创建 ${res.data.total} 个输入项目!`*/
|
|
|
}
|
|
|
);
|
|
|
|