提交 fa8f85da authored 作者: 龙菲's avatar 龙菲

修复展览bug

上级 06f4f6e5
......@@ -408,13 +408,13 @@ export default {
value: "value",
label: "label",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
culturalRelicTextureProps: {
value: "value",
label: "label",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
dialogVisible: false,
orgTreeData: [],
......@@ -422,7 +422,7 @@ export default {
value: "id",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
rules: {
name: [{ required: true, message: "请输入文物名称", trigger: "blur" }],
......
......@@ -351,6 +351,7 @@ import { themeTypeOptions } from "../contants";
import { deleteFiles } from "@/api/file";
import VueQuillEditor from "@/components/VueQuillEditor";
import { getVirtualListPer } from "@/api/vitual";
export default {
name: "InfoEditDialog",
components: {
......@@ -561,13 +562,13 @@ export default {
value: "id",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
culturalRegionProps: {
value: "code",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
regionTree: [],
rules: {
......@@ -890,8 +891,18 @@ export default {
}
}
}
let crIdArr = unit.crIds;
unit.crIds = crIdArr ? crIdArr.join(",") : "";
let crIdArr = JSON.parse(JSON.stringify(unit.crIds));
if (crIdArr) {
if (crIdArr instanceof Array) {
unit.crIds = crIdArr.join(",");
} else if (crIdArr instanceof String) {
unit.crIds = [crIdArr];
}
} else {
unit.crIds = "";
}
var deleteArr = ["euId"];
deleteArr.forEach((i) => {
if (unit[i]) {
......
......@@ -204,6 +204,7 @@ $cursor: #fff;
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
.login-container .el-input input {
color: $cursor;
}
}
......@@ -215,7 +216,7 @@ $cursor: #fff;
width: 85%;
input {
background: transparent;
background: transparent !important;
border: 0px;
-webkit-appearance: none;
border-radius: 0px;
......@@ -226,8 +227,10 @@ $cursor: #fff;
// caret-color: $cursor;
caret-color: #333;
&:-webkit-autofill {
box-shadow: 0 0 0px 1000px $bg inset !important;
-webkit-text-fill-color: $cursor !important;
// box-shadow: 0 0 0px 1000px $bg inset !important;
box-shadow: 0 0 0px 1000px transparent inset !important;
// -webkit-text-fill-color: $cursor !important;
}
}
}
......
......@@ -201,13 +201,13 @@ export default {
value: "id",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
regionOptionProps: {
value: "code",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
regionTree: [],
status: true,
......
......@@ -179,13 +179,13 @@ export default {
value: "id",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
regionOptionProps: {
value: "code",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
regionTree: [],
status: true,
......
......@@ -103,7 +103,7 @@ export default {
value: "id",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
depts: [], //自定义部门
dataScopeData: null,
......
......@@ -222,13 +222,13 @@ export default {
value: "id",
label: "label",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
culturalRegionProps: {
value: "code",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
regionTree: [],
rules: {
......
......@@ -194,13 +194,13 @@ export default {
value: "id",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
regionOptionProps: {
value: "code",
label: "name",
children: "children",
checkStrictly: true, //单选选择任意一级选项
},
regionTree: [],
status: true,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论