el-tree添加draggable,input的内容不能用鼠标选中?

el-tree 添加draggable属性时,里面的input的内容不能用鼠标选中会优先触发拖动事件。请问各位大佬有没有好的解决方案。试过allow-drag,allow-drop都无效?求大佬指点

    <el-tree
      draggable
      filter=".nameInput el-input el-input--mini" 
      node-key="id"
      empty-text
      v-if="configList.length >= 1"
      v-loading="loading"
      element-loading-text="正在加载分类"
      :indent="INDENT"
      :data="configList"
      :props="defaultProps"
      :expand-on-click-node="false"
      :default-expanded-keys="expandedKeys"
      :allow-drag="allowDrag"
      :allow-drop="allowDrop"
      @node-expand="updateExpandedKeys"
      @node-collapse="updateExpandedKeys"
      @node-click="changeAddParentId"
      @node-drop="updateRemoteConfigLevel"
    ></el-tree>
阅读 152
评论
    2 个回答

    <input draggable="true" />就可以了

      <input draggable="false">

        撰写回答

        登录后参与交流、获取后续更新提醒