Refactor class syntax

pull/3/head
cagataycivici 2018-12-10 13:57:19 +03:00
parent cb83638603
commit d86d176a10
1 changed files with 1 additions and 2 deletions

View File

@ -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>