mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
Fixed: Image Required
This commit is contained in:
@@ -53,7 +53,7 @@ export default {
|
||||
logo: {
|
||||
component: UploadField,
|
||||
el: {
|
||||
width: '10%',
|
||||
width: '20%',
|
||||
height: '10%',
|
||||
accept: 'image/jpg, image/png, image/jpeg, image/svg+xml'
|
||||
},
|
||||
@@ -61,7 +61,14 @@ export default {
|
||||
fileChange: ([value], updateForm) => {
|
||||
this.logo_file = value
|
||||
}
|
||||
}
|
||||
},
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('FieldRequiredError'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
hasSaveContinue: false,
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script type="text/jsx">
|
||||
<script>
|
||||
import { GenericListPage } from '@/layout/components'
|
||||
import { DetailFormatter, TagChoicesFormatter } from '@/components/Table/TableFormatters'
|
||||
import { toSafeLocalDateStr } from '@/utils/time'
|
||||
@@ -214,7 +214,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
@@ -38,7 +38,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user