Skip to content

Commit

Permalink
fix: 修复allpath不传时的数组方法报错
Browse files Browse the repository at this point in the history
  • Loading branch information
hql7 committed Dec 1, 2020
1 parent cddd898 commit 03101b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/WlExplorer/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,12 @@ export default {
*/
props: Object,
// 所有文件路径 用于文件地址输入框自动提示,如不传则使用历史记录
allPath: Array,
allPath: {
type: Array,
default: () => {
return [];
},
},
// 校验是否文件夹函数,(row)参数为当前行数据,用于复杂类型,当isFolderFn优先使用计算结果,不存在时使用props配置内的isFolder字段
isFolderFn: Function,
// 是否锁定文件、文件夹函数,true则不可进行操作
Expand Down

0 comments on commit 03101b7

Please sign in to comment.