Forráskód Böngészése

资料库前端处理

lipenghui 2 hete
szülő
commit
e2e52251f5
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      src/views/system/tree/index.vue

+ 1 - 2
src/views/system/tree/index.vue

@@ -315,7 +315,6 @@ const updateBreadcrumbs = async (node) => {
 
 // 表格行点击事件
 const inContent = async (row) => {
-  debugger
   if (row.fileType!='content') {
     window.open('http://1.94.244.160:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(row.filePath)));
     return
@@ -326,6 +325,7 @@ const inContent = async (row) => {
   await updateBreadcrumbs(row)
   // 可以添加其他表格行点击需要的逻辑
   queryParams.classId = row.id;
+  nodeId.value = row.id
   const data = await IotInfoApi.IotInfoApi.getChildContentFile(queryParams)
   formLoading.value = false
   list.value = data
@@ -345,7 +345,6 @@ const handleFileNodeClick = async (row) => {
     id.value = row.originId
   }
 
-  debugger
   classType.value = row.type
   if (row.type==='device') {
     deviceId.value = row.originId