ui 개편 완료
This commit is contained in:
@@ -101,6 +101,7 @@
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, onUnmounted } from 'vue'
|
||||
import { getShortSido } from '../utils/dataHelper'
|
||||
|
||||
const props = defineProps({
|
||||
region: {
|
||||
@@ -126,7 +127,7 @@ const props = defineProps({
|
||||
})
|
||||
|
||||
const shortSidoName = computed(() => {
|
||||
const s = (props.region?.sido || '').replace(/특별시|광역시|특별자치시|도/g, '').trim()
|
||||
const s = getShortSido(props.region?.sido || '')
|
||||
return s || '경기'
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user