|
@@ -2688,16 +2688,13 @@ const refreshName = async ()=>{
|
|
|
window.$message.warning('请先选择命名规则')
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
- const { code, error, msg } = await divisionApi.getNameRuleByRule({
|
|
|
+ const { code, error, msg, data } = await divisionApi.getNameRuleByRule({
|
|
|
nameRule:titleSetValue.value.join('-'),
|
|
|
pkeyId: treeItemInfo.value?.primaryKeyId,
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
})
|
|
|
if (code === 200 && !error) {
|
|
|
window.$message.success(msg)
|
|
|
+ inputVal.value = data
|
|
|
}
|
|
|
}
|
|
|
</script>
|