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 {
code: {
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: `
<template>
<div class="card flex justify-content-center">
<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>
</template>
@ -38,7 +38,7 @@ export default {
<template>
<div class="card flex justify-content-center">
<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>
</template>

View File

@ -15,29 +15,29 @@ export default {
value: '',
code: {
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: `
<template>
<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>
</template>
<script>
export default {
data() {
return {
value: ''
}
}
data() {
return {
value: ''
}
}
}
<\/script>
`,
composition: `
<template>
<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>
</template>