mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 14:56:46 +08:00
修改路径背景图选中
This commit is contained in:
@@ -1286,6 +1286,7 @@ export default {
|
||||
|
||||
//编辑学习路径图
|
||||
const editLearnPath = async () => {
|
||||
debugger
|
||||
if (!state.pathName) {
|
||||
message.destroy();
|
||||
return message.warning("请输入路径图名称");
|
||||
@@ -1454,6 +1455,7 @@ export default {
|
||||
// state.imgData = ;
|
||||
// }
|
||||
});
|
||||
debugger
|
||||
const imgData = computed(() => store.state.router_pic);
|
||||
//添加权限
|
||||
watch(
|
||||
@@ -1512,8 +1514,8 @@ export default {
|
||||
state.editPathId = id;
|
||||
let arr = imgData.value;
|
||||
arr.forEach((item) => {
|
||||
if (item.dictValue === state.pathBg) {
|
||||
state.pathBgId = item.dictCode;
|
||||
if (item.value === state.pathBg) {
|
||||
state.pathBgId = item.code;
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user