mirror of
https://gitee.com/newgateway/vtj.git
synced 2026-05-07 01:10:03 +08:00
fix: 🐛 变量绑定器可选项名称增加tooltip
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
:minimizable="false"
|
||||
@close="onClose">
|
||||
<XContainer fit direction="row" overflow="hidden">
|
||||
<XContainer width="30%" height="100%">
|
||||
<XContainer width="36%" height="100%">
|
||||
<Tabs class="v-binder__tabs" :items="tabs" v-model="currentTab">
|
||||
<XContainer class="v-binder__tab-content" fit padding :flex="false">
|
||||
<div v-show="currentTab === 'normal'">
|
||||
@@ -28,6 +28,7 @@
|
||||
:title="item"
|
||||
background
|
||||
:actions="['copy']"
|
||||
:tooltip="item"
|
||||
small
|
||||
@click="onPicker(item)"
|
||||
@action="onCopy(item)"></Item>
|
||||
@@ -49,6 +50,7 @@
|
||||
:subtitle="item.path"
|
||||
background
|
||||
:actions="['copy']"
|
||||
:tooltip="item.path"
|
||||
small
|
||||
@click="onPicker(`this.$router.push('${item.path}')`)"
|
||||
@action="onCopy(item.path)"></Item>
|
||||
@@ -70,6 +72,7 @@
|
||||
:subtitle="item.key"
|
||||
background
|
||||
:actions="['copy']"
|
||||
:tooltip="item.key"
|
||||
small
|
||||
@click="onPicker(`this.$t('${item.key}')`)"
|
||||
@action="onCopy(item.key)"></Item>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
:class="classes"
|
||||
justify="space-between"
|
||||
align="center"
|
||||
:title="props.tooltip"
|
||||
@click="onClick">
|
||||
<XContainer class="v-item__title" align="center">
|
||||
<slot>
|
||||
@@ -151,6 +152,7 @@
|
||||
actionInMore?: boolean;
|
||||
textTags?: string[];
|
||||
nowrap?: boolean;
|
||||
tooltip?: string;
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
@click="onPick(data)"
|
||||
background
|
||||
:actions="['copy']"
|
||||
:tooltip="data.path"
|
||||
@action="onCopy(data)"
|
||||
grow
|
||||
small>
|
||||
|
||||
Reference in New Issue
Block a user