[Core] [Metadata] Fixed an error in selecting columns directly without selecting tables

This commit is contained in:
qianmoQ 2023-11-08 19:47:57 +08:00
parent 9bbedfb8b0
commit 6205dff463
4 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
name: Release notes
title: Release notes for xxx
name: 🆕 Release new version
title: 🆕 [Release] Release notes for xxx
description: New version released
labels:
- release

View File

@ -9,7 +9,7 @@ check_java_version() {
local java_version=$("$JAVA_HOME"/bin/java -version 2>&1 | awk -F '"' '/version/ {print $2}')
local major_version=$(echo "$java_version" | awk -F. '{print $1}')
if [ "$major_version" != "1" ] && [ "$major_version" != "11" ]; then
printf "Error: Java version %s is not supported. Please use Java 1.8 or 11.\n" "$java_version"
printf "Error: Java version [ %s ] is not supported. Please use Java 1.8 or 11.\n" "$java_version"
exit 1
fi
}

View File

@ -9,7 +9,7 @@ check_java_version() {
local java_version=$("$JAVA_HOME"/bin/java -version 2>&1 | awk -F '"' '/version/ {print $2}')
local major_version=$(echo "$java_version" | awk -F. '{print $1}')
if [ "$major_version" != "1" ] && [ "$major_version" != "11" ]; then
printf "Error: Java version %s is not supported. Please use Java 1.8 or 11.\n" "$java_version"
printf "Error: Java version [ %s ] is not supported. Please use Java 1.8 or 11.\n" "$java_version"
exit 1
fi
}

View File

@ -281,7 +281,9 @@ export default defineComponent({
}
const currentNode = node[0];
if (currentNode.level === DataStructureEnum.COLUMN) {
this.applyValue.node.selected = true;
if (this.applyValue.node) {
this.applyValue.node.selected = true;
}
currentNode.selected = false;
return;
}