RuoYi
2022-03-17 18004588edd7d8f53ae29a063a332ad4ec6513f5
修复菜单主类目不能被选择问题
已修改1个文件
2 ■■■ 文件已修改
src/components/TreeSelect/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/TreeSelect/index.vue
@@ -82,7 +82,7 @@
function initHandle() {
  nextTick(() => {
    const selectedValue = valueId.value;
    if(selectedValue && selectedValue !== null && typeof (selectedValue) !== "undefined"){
    if(selectedValue !== null && typeof (selectedValue) !== 'undefined') {
      const node = proxy.$refs.selectTree.getNode(selectedValue)
      if (node) {
        valueTitle.value = node.data[props.objMap.label]