mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
revert: 恢复误删的placeholder功能
This commit is contained in:
parent
fd174dfd11
commit
2f71a89907
@ -56,7 +56,7 @@
|
|||||||
<ul v-if="0 < rules.length" class="list">
|
<ul v-if="0 < rules.length" class="list">
|
||||||
<li
|
<li
|
||||||
@mouseenter="mouseenterHandler(index)"
|
@mouseenter="mouseenterHandler(index)"
|
||||||
v-for="({title, rule, events}, index) in rules"
|
v-for="({title, rule, events,example}, index) in rules"
|
||||||
:key="title"
|
:key="title"
|
||||||
class="row"
|
class="row"
|
||||||
>
|
>
|
||||||
@ -76,6 +76,7 @@
|
|||||||
<input
|
<input
|
||||||
ref="input"
|
ref="input"
|
||||||
v-model="list[index].value"
|
v-model="list[index].value"
|
||||||
|
:placeholder="example"
|
||||||
@blur="check(index, 'blur')"
|
@blur="check(index, 'blur')"
|
||||||
@keyup="check(index, 'keyup')"
|
@keyup="check(index, 'keyup')"
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user