|
|
@@ -26,7 +26,7 @@
|
|
|
width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button @click="downloadFile(scope.row)" type="text" size="small">{{$t('download')}}</el-button>
|
|
|
- <el-button @click="insertFile(scope.row)" type="text" size="small">{{$t('insert')}}</el-button>
|
|
|
+ <el-button @click="insertFile(scope.row)" type="text" size="small" v-if="manage" >{{$t('insert')}}</el-button>
|
|
|
<el-button type="text" size="small" @click="deleteFile(scope.row)" v-if="manage">{{$t('delete')}}</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|