Merge branch 'feature/create_app' into razrab
This commit is contained in:
commit
51e61e01bc
3 files changed
+18
-6
No files matched your search
@@ -24,6 +24,7 @@
|
||||
|
||||
<!-- <v-spacer></v-spacer> -->
|
||||
<v-file-input
|
||||
:rules="rules"
|
||||
v-model="dailyfiles"
|
||||
variant="underlined"
|
||||
density="compact"
|
||||
@@ -74,12 +75,21 @@ export default {
|
||||
|
||||
|
||||
}
|
||||
|
||||
function checkFile(value) {
|
||||
return value.length > 0 || 'Добавьте файл'
|
||||
}
|
||||
|
||||
const rules = [checkFile]
|
||||
|
||||
|
||||
return {
|
||||
visiting,
|
||||
excelOp,
|
||||
baseURL,
|
||||
dailyfiles,
|
||||
onPickFile
|
||||
onPickFile,
|
||||
rules,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user