mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-04 21:18:22 +08:00
[Web] Add data source description and prompt
This commit is contained in:
parent
063cbb9577
commit
3add43e766
@ -2,7 +2,9 @@
|
||||
<div>
|
||||
<Select v-model="applySource" style="width: 160px" @on-change="handlerChangeValue">
|
||||
<Option v-for="column in columns" :value="column.id + ':' + column.type" v-bind:key="column.id">
|
||||
{{ column.name }}
|
||||
<Tooltip transfer :content="column.type">
|
||||
{{ column.name }}
|
||||
</Tooltip>
|
||||
</Option>
|
||||
</Select>
|
||||
</div>
|
||||
|
@ -35,10 +35,11 @@
|
||||
<TabPane :label="$t('common.source')" name="type" icon="md-apps">
|
||||
<RadioGroup v-if="plugins" v-model="formState.type" type="button">
|
||||
<div v-for="key in Object.keys(plugins)" v-bind:key="key">
|
||||
<Divider orientation="left">{{ key }}</Divider>
|
||||
<Divider orientation="left">{{ key }} ({{ plugins[key].length }})</Divider>
|
||||
<Space wrap :size="[8, 16]">
|
||||
<Radio v-for="plugin in plugins[key]" :label="plugin.name + ' ' + plugin.type"
|
||||
v-bind:key="plugin.name"/>
|
||||
<Tooltip v-for="plugin in plugins[key]" :content="plugin.description" transfer v-bind:key="plugin.name">
|
||||
<Radio :label="plugin.name + ' ' + plugin.type"/>
|
||||
</Tooltip>
|
||||
</Space>
|
||||
</div>
|
||||
</RadioGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user