Browse Source

删除log

master
chendingwei 2 years ago
parent
commit
14d0d6605d
  1. 1
      src/App.vue
  2. 4
      src/views/page/aside/cameraLeftMenu.vue

1
src/App.vue

@ -54,5 +54,6 @@ function timeupdatefn(e:any) {
body{ body{
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
user-select: none;
} }
</style> </style>

4
src/views/page/aside/cameraLeftMenu.vue

@ -73,9 +73,6 @@ watch(searchStr, (newVal, oldVal) => {
} }
}); });
expandedKeys.value = expandedKeyArr expandedKeys.value = expandedKeyArr
console.log(expandedKeys.value);
}) })
function selectCamera(e: any) { function selectCamera(e: any) {
if (e.length && !isNaN(parseInt(e[0]))) { if (e.length && !isNaN(parseInt(e[0]))) {
@ -103,7 +100,6 @@ function searchFn(newVal: string, arr: any[]): any {
function loadTreeData() { function loadTreeData() {
cameraApi.GetList().then((res: any) => { cameraApi.GetList().then((res: any) => {
let list: Array<any> = res.data.data; let list: Array<any> = res.data.data;
console.log(list);
treeData.value[0].children[0].children = list.map((item: any) => { treeData.value[0].children[0].children = list.map((item: any) => {
item.title = item.name item.title = item.name
item.key = item.id.toString() item.key = item.id.toString()

Loading…
Cancel
Save