mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 添加exception页面:403,404,500
This commit is contained in:
25
src/components/common/BannerSvg/index.vue
Normal file
25
src/components/common/BannerSvg/index.vue
Normal file
@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<div>
|
||||
<banner1 v-if="type === '1'" :color="color" />
|
||||
<banner2 v-if="type === '2'" :color="color" />
|
||||
<banner3 v-if="type === '3'" :color="color" />
|
||||
<banner4 v-if="type === '4'" :color="color" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { PropType } from 'vue';
|
||||
import { Banner1, Banner2, Banner3, Banner4 } from './components';
|
||||
|
||||
defineProps({
|
||||
type: {
|
||||
type: String as PropType<'1' | '2' | '3' | '4'>,
|
||||
default: '1'
|
||||
},
|
||||
color: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<style scoped></style>
|
Reference in New Issue
Block a user