commit
c07f6dc487
@ -22,7 +22,6 @@
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
@ -204,7 +203,6 @@
|
||||
<dependency>
|
||||
<groupId>io.dataease</groupId>
|
||||
<artifactId>dataease-plugin-interface</artifactId>
|
||||
<version>${dataease.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>guava</artifactId>
|
||||
@ -215,12 +213,10 @@
|
||||
<dependency>
|
||||
<groupId>io.dataease</groupId>
|
||||
<artifactId>dataease-plugin-view</artifactId>
|
||||
<version>${dataease.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.dataease</groupId>
|
||||
<artifactId>dataease-plugin-datasource</artifactId>
|
||||
<version>${dataease.version}</version>
|
||||
</dependency>
|
||||
<!-- kettle及数据源依赖 -->
|
||||
<dependency>
|
||||
|
||||
@ -1127,8 +1127,9 @@ export default {
|
||||
},
|
||||
filterNode(value, data) {
|
||||
if (!value) return true
|
||||
const result = data.label.toLowerCase().indexOf(value.toLowerCase()) !== -1
|
||||
if (this.searchType === 'folder') {
|
||||
if (data.nodeType === 'folder' && data.label.indexOf(value) !== -1) {
|
||||
if (data.nodeType === 'folder' && result) {
|
||||
this.searchPids.push(data.id)
|
||||
return true
|
||||
}
|
||||
@ -1139,7 +1140,7 @@ export default {
|
||||
return true
|
||||
}
|
||||
} else {
|
||||
return data.label.indexOf(value) !== -1
|
||||
return result
|
||||
}
|
||||
return false
|
||||
},
|
||||
|
||||
27
pom.xml
27
pom.xml
@ -26,6 +26,33 @@
|
||||
<module>mobile</module>
|
||||
<module>backend</module>
|
||||
</modules>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.dataease</groupId>
|
||||
<artifactId>dataease-plugin-interface</artifactId>
|
||||
<version>${dataease.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>guava</artifactId>
|
||||
<groupId>com.google.guava</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.dataease</groupId>
|
||||
<artifactId>dataease-plugin-view</artifactId>
|
||||
<version>${dataease.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.dataease</groupId>
|
||||
<artifactId>dataease-plugin-datasource</artifactId>
|
||||
<version>${dataease.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user