config json viewer

This commit is contained in:
pypy
2020-09-08 21:26:09 +09:00
parent d8d7e4c004
commit 3773303928
2 changed files with 14 additions and 0 deletions

View File

@@ -401,6 +401,15 @@ html
div(style="margin-top:5px")
el-button-group
el-button(size="small" icon="el-icon-s-operation" @click="showLaunchOptions()") Launch Options
div(style="margin-top:30px")
span(style="font-weight:bold") Config JSON
el-button(type="default" @click="refreshConfigTreeData()" size="mini" icon="el-icon-refresh" circle style="margin-left:5px")
el-button(type="default" @click="configTreeData = []" size="mini" icon="el-icon-delete" circle style="margin-left:0")
el-tree(:data="configTreeData" style="margin-top:5px;font-size:12px")
template(#default="scope")
span
span(v-text="scope.data.key" style="font-weight:bold;margin-right:5px")
span(v-if="!scope.data.children" v-text="scope.data.value")
div(style="margin-top:30px")
span(style="font-weight:bold") My Profile
.x-friend-list(style="margin-top:10px")