fix(项目设置): 修复文件管理偶尔情况下不会出现上传文件按钮的问题
--bug=1018440 --user=宋天阳 【项目设置】文件管理-默认模块下的“添加文件”按钮没了。。 https://www.tapd.cn/55049933/s/1267724
This commit is contained in:
parent
e450297353
commit
81c68f23a1
|
@ -6,8 +6,12 @@
|
||||||
@change="change"
|
@change="change"
|
||||||
@search="getProjectFiles" title="">
|
@search="getProjectFiles" title="">
|
||||||
<template v-slot:button>
|
<template v-slot:button>
|
||||||
|
<ms-table-button icon="el-icon-upload2" v-if="moduleType==='repository'"
|
||||||
|
:content="$t('variables.add_file')"
|
||||||
|
@click="addRepositoryFile"
|
||||||
|
v-permission="['PROJECT_FILE:READ+UPLOAD+JAR']"/>
|
||||||
<el-upload
|
<el-upload
|
||||||
v-if="moduleType==='module'"
|
v-else
|
||||||
action=""
|
action=""
|
||||||
multiple
|
multiple
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
|
@ -18,10 +22,6 @@
|
||||||
:content="$t('variables.add_file')"
|
:content="$t('variables.add_file')"
|
||||||
v-permission="['PROJECT_FILE:READ+UPLOAD+JAR']"/>
|
v-permission="['PROJECT_FILE:READ+UPLOAD+JAR']"/>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<ms-table-button icon="el-icon-upload2" v-else-if="moduleType==='repository'"
|
|
||||||
:content="$t('variables.add_file')"
|
|
||||||
@click="addRepositoryFile"
|
|
||||||
v-permission="['PROJECT_FILE:READ+UPLOAD+JAR']"/>
|
|
||||||
</template>
|
</template>
|
||||||
</ms-table-header>
|
</ms-table-header>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue