@@ -86,7 +86,7 @@ const order = ref<'asc' | 'desc'>('desc')
|
||||
const config = useConfigStore()
|
||||
|
||||
const data = computed(() => {
|
||||
return props.data.sort((a, b) => {
|
||||
return [...props.data].sort((a, b) => {
|
||||
let aValue = 0
|
||||
let bValue = 0
|
||||
if (['cd', 'name'].includes(sort.value)) {
|
||||
|
||||
Reference in New Issue
Block a user