mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 07:16:46 +08:00
fix:路径图和项目编辑时原名字显示冲突问题
This commit is contained in:
@@ -335,6 +335,7 @@
|
||||
v-model:validated="validated"
|
||||
:maxlength="20"
|
||||
show-count
|
||||
:onceName="onceName"
|
||||
:type="3"
|
||||
:id="editPathId"
|
||||
></NameInput>
|
||||
@@ -824,6 +825,7 @@ export default {
|
||||
//
|
||||
//创建、编辑-------------------------
|
||||
pathName: "", //创建/编辑路径图名称
|
||||
onceName: "",
|
||||
organizationList: [
|
||||
// {
|
||||
// id: 1,
|
||||
@@ -903,6 +905,7 @@ export default {
|
||||
// console.log("打开创建路径弹窗");
|
||||
state.confirmLoading = false;
|
||||
state.pathName = "";
|
||||
state.onceName = "";
|
||||
state.pathBg = "";
|
||||
state.pathBgId = "";
|
||||
state.pathIntro = "";
|
||||
@@ -914,6 +917,7 @@ export default {
|
||||
};
|
||||
const handleOut1 = () => {
|
||||
state.pathName = "";
|
||||
state.onceName = "";
|
||||
state.pathBg = "";
|
||||
state.pathBgId = 1;
|
||||
state.organizationSelectName = null;
|
||||
@@ -1532,6 +1536,7 @@ export default {
|
||||
console.log("获取学习路径详情成功", res.data.data);
|
||||
let detail = res.data.data.routerInfo;
|
||||
state.pathName = detail.name;
|
||||
state.onceName = detail.name;
|
||||
state.pathBg = detail.picUrl;
|
||||
state.mobilePicUrl = detail.mobilePicUrl;
|
||||
state.pathBgId = "";
|
||||
|
||||
Reference in New Issue
Block a user