Demo fixes

pull/4899/head
tugcekucukoglu 2023-11-29 15:00:56 +03:00
parent 8e7f749423
commit c42948530e
2 changed files with 11 additions and 11 deletions

View File

@ -14,13 +14,13 @@ export default {
return { return {
code: { code: {
basic: ` basic: `
<FileUpload mode="basic" name="demo[]" url="/api/upload"accept="image/*" :maxFileSize="1000000" @upload="onUpload" /> <FileUpload mode="basic" name="demo[]" url="/api/upload" accept="image/*" :maxFileSize="1000000" @upload="onUpload" />
`, `,
options: ` options: `
<template> <template>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<Toast /> <Toast />
<FileUpload mode="basic" name="demo[]" url="/api/upload"accept="image/*" :maxFileSize="1000000" @upload="onUpload" /> <FileUpload mode="basic" name="demo[]" url="/api/upload" accept="image/*" :maxFileSize="1000000" @upload="onUpload" />
</div> </div>
</template> </template>
@ -38,7 +38,7 @@ export default {
<template> <template>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<Toast /> <Toast />
<FileUpload mode="basic" name="demo[]" url="/api/upload"accept="image/*" :maxFileSize="1000000" @upload="onUpload" /> <FileUpload mode="basic" name="demo[]" url="/api/upload" accept="image/*" :maxFileSize="1000000" @upload="onUpload" />
</div> </div>
</template> </template>

View File

@ -15,29 +15,29 @@ export default {
value: '', value: '',
code: { code: {
basic: ` basic: `
<InputMask id="basic" v-model="value" placeholder="99/99/9999" slotChar="mm/dd/yyyy" /> <InputMask id="basic" v-model="value" placeholder="99/99/9999" mask="99/99/9999" slotChar="mm/dd/yyyy" />
`, `,
options: ` options: `
<template> <template>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<InputMask id="basic" v-model="value" placeholder="99/99/9999" slotChar="mm/dd/yyyy" /> <InputMask id="basic" v-model="value" placeholder="99/99/9999" mask="99/99/9999" slotChar="mm/dd/yyyy" />
</div> </div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
value: '' value: ''
} }
} }
} }
<\/script> <\/script>
`, `,
composition: ` composition: `
<template> <template>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<InputMask id="basic" v-model="value" placeholder="99/99/9999" slotChar="mm/dd/yyyy" /> <InputMask id="basic" v-model="value" placeholder="99/99/9999" mask="99/99/9999" slotChar="mm/dd/yyyy" />
</div> </div>
</template> </template>