Element-ui树形控件el-tree获取父级节点的id
Element-ui官网给的方法getCheckedKeys(){console log(this $refs tree getCheckedKeys());},这种只有在所有子级都被选中的情况下才能获得父级的id,如果不选中所有的子级
Element-ui官网给的方法getCheckedKeys(){console log(this $refs tree getCheckedKeys());},这种只有在所有子级都被选中的情况下才能获得父级的id,如果不选中所有的子级
进入你的项目目录,创建一个基于webpack模板的新项目:vueinitwebpackdemo(项目名)打包方式npmrunbuild进入到对应的目录输入,启动项目npmrundev
下载地址:新版:https: nodejs org zh-cn download 多版本:https: nodejs org zh-cn download releases 下载完毕后双击安装包运行安装,一路默认即可安装完毕后,安装
nodemon:无法加载文件C:Users Administrator AppData Roaming npm nodemon ps1因为在此系统上禁止运行脚本解决方法:1、window+r输入powershell2、执行:set-ExecutionPolicyRemoteS