|
@@ -67,7 +67,7 @@
|
|
promise.then(res => {
|
|
promise.then(res => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.treeDataSource = res.result
|
|
this.treeDataSource = res.result
|
|
- // update-begin- --- author:wangshuai ------ date:20200102 ---- for:去除默认选中第一条数据、默认展开所有第一级
|
|
|
|
|
|
+ // update-begin- --- author:wangshuai ------ date:20200102 ---- for:去除默认选中第一条数据、默认展开所有第一级
|
|
// 默认选中第一条数据、默认展开所有第一级
|
|
// 默认选中第一条数据、默认展开所有第一级
|
|
if (res.result.length > 0) {
|
|
if (res.result.length > 0) {
|
|
this.expandedKeys = []
|
|
this.expandedKeys = []
|