mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix(X-Pack): 修复编辑页面数据集选择框下的数据集新建按钮权限控制
This commit is contained in:
@@ -372,7 +372,14 @@ onMounted(() => {
|
||||
</el-main>
|
||||
<el-footer v-if="!isDataEaseBi">
|
||||
<div class="footer-container">
|
||||
<el-button type="primary" :icon="Plus" link class="add-btn" @click="addDataset">
|
||||
<el-button
|
||||
type="primary"
|
||||
:icon="Plus"
|
||||
link
|
||||
class="add-btn"
|
||||
@click="addDataset"
|
||||
v-permission="sourceType === 'datasource' ? ['datasource'] : ['dataset']"
|
||||
>
|
||||
{{ newSource }}
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user