Kaynağa Gözat

同步质检资料时收起展开的表单

duy 2 yıl önce
ebeveyn
işleme
67a3be455b
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      src/views/data-fill/wbs.vue

+ 2 - 0
src/views/data-fill/wbs.vue

@@ -1916,6 +1916,7 @@ const onmousedown = () => {
 //同步质检资料
 const syncdataloading=ref(false)
 const syncdata=async()=>{
+    ListItemRef.value?.setActiveKey('')
     const info = nodeDataInfo.value;
     syncdataloading.value=true
     const {error, code,msg} = await wbsApi.syncTbadata({
@@ -1926,6 +1927,7 @@ const syncdata=async()=>{
     if (!error && code === 200) {
         window.$message?.success(msg)
         getTableDataAll()
+     
         // window?.location?.reload()  //刷新页面
 
     }