NEZ-3136 fix:增加 placeholder 提示 一并修改 相同组件其它表单的placeholder
This commit is contained in:
@@ -175,7 +175,7 @@
|
|||||||
<vue-tags-input
|
<vue-tags-input
|
||||||
v-model="tag"
|
v-model="tag"
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="chartConfig.param.tags"
|
:tags="chartConfig.param.tags"
|
||||||
@tags-changed="(newTags)=>{tagsChange(newTags)}"
|
@tags-changed="(newTags)=>{tagsChange(newTags)}"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -189,7 +189,7 @@
|
|||||||
<vue-tags-input
|
<vue-tags-input
|
||||||
v-model="tag"
|
v-model="tag"
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="chartConfig.param.tags"
|
:tags="chartConfig.param.tags"
|
||||||
@tags-changed="(newTags)=>{tagsChange(newTags)}"
|
@tags-changed="(newTags)=>{tagsChange(newTags)}"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -209,7 +209,7 @@
|
|||||||
<vue-tags-input
|
<vue-tags-input
|
||||||
v-model="item.tags"
|
v-model="item.tags"
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="item.value"
|
:tags="item.value"
|
||||||
@tags-changed="(newTags)=>{tagsChange(newTags, index)}"
|
@tags-changed="(newTags)=>{tagsChange(newTags, index)}"
|
||||||
/>
|
/>
|
||||||
@@ -271,7 +271,7 @@
|
|||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
ref="relabelTag"
|
ref="relabelTag"
|
||||||
tabindex="9999"
|
tabindex="9999"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="item.source_labels"
|
:tags="item.source_labels"
|
||||||
@before-adding-tag="beforeAddingTag"
|
@before-adding-tag="beforeAddingTag"
|
||||||
@blur="relabelTabBlur"
|
@blur="relabelTabBlur"
|
||||||
@@ -440,7 +440,7 @@
|
|||||||
<vue-tags-input
|
<vue-tags-input
|
||||||
v-model="item.namespaces.tags"
|
v-model="item.namespaces.tags"
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="item.namespaces.names"
|
:tags="item.namespaces.names"
|
||||||
@tags-changed="(newTags)=>{logsTagsChange(newTags,item)}"
|
@tags-changed="(newTags)=>{logsTagsChange(newTags,item)}"
|
||||||
/>
|
/>
|
||||||
@@ -474,7 +474,7 @@
|
|||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:ref="'logsRelabelTag'+index+subIndex"
|
:ref="'logsRelabelTag'+index+subIndex"
|
||||||
tabindex="9999"
|
tabindex="9999"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="subItem.source_labels"
|
:tags="subItem.source_labels"
|
||||||
@before-adding-tag="beforeAddingTag"
|
@before-adding-tag="beforeAddingTag"
|
||||||
@blur="logsRelabelTabBlur(index,subIndex)"
|
@blur="logsRelabelTabBlur(index,subIndex)"
|
||||||
|
|||||||
@@ -188,7 +188,7 @@
|
|||||||
<vue-tags-input
|
<vue-tags-input
|
||||||
v-model="item.tags"
|
v-model="item.tags"
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="item.value"
|
:tags="item.value"
|
||||||
@tags-changed="(newTags)=>{tagsChange(newTags, index)}"
|
@tags-changed="(newTags)=>{tagsChange(newTags, index)}"
|
||||||
/>
|
/>
|
||||||
@@ -250,7 +250,7 @@
|
|||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
ref="relabelTag"
|
ref="relabelTag"
|
||||||
tabindex="9999"
|
tabindex="9999"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="item.source_labels"
|
:tags="item.source_labels"
|
||||||
@before-adding-tag="beforeAddingTag"
|
@before-adding-tag="beforeAddingTag"
|
||||||
@blur="relabelTabBlur"
|
@blur="relabelTabBlur"
|
||||||
@@ -421,7 +421,7 @@
|
|||||||
<vue-tags-input
|
<vue-tags-input
|
||||||
v-model="item.namespaces.tags"
|
v-model="item.namespaces.tags"
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="item.namespaces.names"
|
:tags="item.namespaces.names"
|
||||||
@tags-changed="(newTags)=>{logsTagsChange(newTags,item)}"
|
@tags-changed="(newTags)=>{logsTagsChange(newTags,item)}"
|
||||||
/>
|
/>
|
||||||
@@ -475,7 +475,7 @@
|
|||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:ref="'logsRelabelTag'+index+subIndex"
|
:ref="'logsRelabelTag'+index+subIndex"
|
||||||
tabindex="9999"
|
tabindex="9999"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="subItem.source_labels"
|
:tags="subItem.source_labels"
|
||||||
@before-adding-tag="beforeAddingTag"
|
@before-adding-tag="beforeAddingTag"
|
||||||
@blur="logsRelabelTabBlur(index,subIndex)"
|
@blur="logsRelabelTabBlur(index,subIndex)"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
<vue-tags-input
|
<vue-tags-input
|
||||||
v-model="item.tags"
|
v-model="item.tags"
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:placeholder="$t('overall.addParameter')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="item.value"
|
:tags="item.value"
|
||||||
@tags-changed="(newTags)=>{tagsChange(newTags, index)}"
|
@tags-changed="(newTags)=>{tagsChange(newTags, index)}"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
v-model="tag"
|
v-model="tag"
|
||||||
:maxlength="32"
|
:maxlength="32"
|
||||||
:class="monitor.interface_name.length !== 0 ? 'interface-name' : ''"
|
:class="monitor.interface_name.length !== 0 ? 'interface-name' : ''"
|
||||||
:placeholder="$t('overall.add.interface_name')"
|
:placeholder="$t('tagsInput.placeholder')"
|
||||||
:tags="monitor.interface_name"
|
:tags="monitor.interface_name"
|
||||||
@tags-changed="newTags=> monitor.interface_name = newTags"
|
@tags-changed="newTags=> monitor.interface_name = newTags"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
class="ipInput"
|
class="ipInput"
|
||||||
style="height: 190px"
|
style="height: 190px"
|
||||||
v-model="ip"
|
v-model="ip"
|
||||||
:placeholder="$t('overall.placeHolder')+' IP'"
|
:placeholder="$t('tagsInput.placeholder')+' IP'"
|
||||||
:add-from-paste="false"
|
:add-from-paste="false"
|
||||||
:tags="tags"
|
:tags="tags"
|
||||||
@tags-changed="newTags => tags = newTags"
|
@tags-changed="newTags => tags = newTags"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<vue-tags-input
|
<vue-tags-input
|
||||||
class="ipInput"
|
class="ipInput"
|
||||||
v-model="ip"
|
v-model="ip"
|
||||||
:placeholder="$t('overall.placeHolder')+' IP'"
|
:placeholder="$t('tagsInput.placeholder')+' IP'"
|
||||||
:add-from-paste="false"
|
:add-from-paste="false"
|
||||||
:tags="tags"
|
:tags="tags"
|
||||||
@tags-changed="newTags => tags = newTags"
|
@tags-changed="newTags => tags = newTags"
|
||||||
|
|||||||
Reference in New Issue
Block a user