--fix 添加归属权

This commit is contained in:
yuping
2023-01-31 13:32:30 +08:00
parent 102423c211
commit 5f4bc8301f
3 changed files with 0 additions and 20 deletions

View File

@@ -301,7 +301,6 @@ import OrgClass from "@/components/project/OrgClass";
import ProjectManager from "@/components/project/ProjectManagerNew";
import NameInput from "@/components/project/NameInput";
import ProjectLevel from "@/components/project/ProjectLevel";
import {changeOwnership, scrollLoad} from "@/api/method";
import {storage} from "../../api/storage";
import * as api2 from "../../api/indexAudit";
import {validateName} from "@/api/index1";
@@ -507,10 +506,6 @@ export default {
state.loading = true
api.createProject(state.projectInfo).then((res) => {
state.loading = false
state.projectInfo.projectId ||
changeOwnership("project", res.data.data.projectId, [
{id: res.data.data.createId, name: res.data.data.createName},
]);
message.destroy();
message.success(state.projectInfo.projectId ? "编辑成功" : "创建成功");
// router.back();