Sfoglia il codice sorgente

fix(division.vue): 添加projectId参数以正确获取名称规则

duy 4 mesi fa
parent
commit
f34e95b7d6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/views/data-fill/division.vue

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

@@ -2748,6 +2748,7 @@ const refreshName = async ()=>{
     const { code, error, msg, data } = await divisionApi.getNameRuleByRule({
         nameRule:titleSetValue.value.join('-'),
         pkeyId:  treeItemInfo.value?.primaryKeyId,
+        projectId: projectId.value,
     })
     if (code === 200 && !error) {
      window.$message.success(msg)