Refactor class syntax
parent
cb83638603
commit
d86d176a10
|
@ -1,6 +1,5 @@
|
|||
<template>
|
||||
<input :class="{'p-inputtext p-component':true, 'p-filled': filled}"
|
||||
v-on="listeners" :value="value" />
|
||||
<input :class="['p-inputtext p-component', {'p-filled': filled}]" v-on="listeners" :value="value" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue