duy 5 月之前
父節點
當前提交
cc2c7e6c26
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/views/data-fill/division.vue

+ 4 - 1
src/views/data-fill/division.vue

@@ -2691,7 +2691,10 @@ const inputVal = ref('')
 
 const getNodeNameConfigData = async () => {
   const { data } = await divisionApi.getNodeNameConfig({ pKeyId:treeItemInfo.value?.primaryKeyId })
-  inputVal.value = getArrValue(data)
+  titleSetValue.value = getArrValue(data)
+  if (titleSetValue.value.length > 0) {
+    refreshName() //
+  }
     
 }
 // 添加 firstTree ref