added java env

This commit is contained in:
marvzhang
2020-03-04 10:36:58 +08:00
parent dd5affc5c1
commit 40f84de307
9 changed files with 65 additions and 12 deletions

View File

@@ -152,6 +152,7 @@ export default {
methods: {
async getDepList () {
this.loading = true
this.depList = []
const res = await this.$request.get(`/nodes/${this.nodeForm._id}/deps`, {
lang: this.activeLang.executable_name,
dep_name: this.depName
@@ -175,6 +176,7 @@ export default {
},
async getInstalledDepList () {
this.loading = true
this.installedDepList = []
const res = await this.$request.get(`/nodes/${this.nodeForm._id}/deps/installed`, {
lang: this.activeLang.executable_name
})