Merge branch 'gin-vue-admin_v2_dev' of https://github.com/flipped-aurora/gin-vue-admin into gin-vue-admin_v2_dev
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<div class="el-upload__tip">请上传不超过5MB的文件</div>
|
||||
<div class="list">
|
||||
<transition-group name="list" tag="p">
|
||||
<div class="list-item" v-for="(item,i) in uploadList" :key="i" >
|
||||
<div class="list-item" v-for="item in uploadList" :key="item.name" >
|
||||
<i class="el-icon-document"></i>
|
||||
<span>{{ item.name }}</span>
|
||||
<span v-if="file" class="percentage" >{{percentage}}%</span>
|
||||
|
||||
@@ -14,7 +14,7 @@ export default {
|
||||
name: 'AsideComponent',
|
||||
computed: {
|
||||
menuComponent() {
|
||||
if (this.routerInfo.children.length) {
|
||||
if (this.routerInfo.children.filter(item=>!item.hidden).length) {
|
||||
return 'AsyncSubmenu'
|
||||
} else {
|
||||
return 'MenuItem'
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
placeholder="请输入验证码"
|
||||
maxlength="10"
|
||||
/>
|
||||
<img :src="path + picPath" alt="请输入验证码" @click="loginVefify()" class="vPic">
|
||||
<img v-if="picPath" :src="path + picPath" alt="请输入验证码" @click="loginVefify()" class="vPic">
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="submitForm" style="width:100%">登 录</el-button>
|
||||
|
||||
@@ -78,11 +78,6 @@
|
||||
<el-form-item label="secretKey">
|
||||
<el-input v-model="config.qiniu.secretKey"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="update" type="primary">立即更新</el-button>
|
||||
<el-button @click="reload" type="primary">重启服务(开发中)</el-button>
|
||||
</el-form-item>
|
||||
|
||||
<h2>验证码配置</h2>
|
||||
<el-form-item label="keyLong">
|
||||
<el-input v-model.number="config.captcha.keyLong"></el-input>
|
||||
@@ -93,11 +88,6 @@
|
||||
<el-form-item label="imgHeight">
|
||||
<el-input v-model.number="config.captcha.imgHeight"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="update" type="primary">立即更新</el-button>
|
||||
<el-button @click="reload" type="primary">重启服务(开发中)</el-button>
|
||||
</el-form-item>
|
||||
|
||||
<h2>日志配置</h2>
|
||||
<el-form-item label="prefix">
|
||||
<el-input v-model.number="config.log.prefix"></el-input>
|
||||
|
||||
Reference in New Issue
Block a user