This commit is contained in:
parent
d03092f41d
commit
c3d9085a57
|
@ -34,7 +34,6 @@ const $props = defineProps({
|
|||
|
||||
const slots = useSlots();
|
||||
const { t } = useI18n();
|
||||
defineExpose({ fetch });
|
||||
const entity = computed(() => useArrayData($props.dataKey).store.data);
|
||||
onMounted(async () => {
|
||||
await getData();
|
||||
|
@ -58,8 +57,6 @@ async function getData() {
|
|||
emit('onFetch', data);
|
||||
}
|
||||
const emit = defineEmits(['onFetch']);
|
||||
|
||||
async function fetch() {}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
@ -68,7 +68,6 @@ const arrayData = useArrayData(props.dataKey, {
|
|||
limit: props.limit,
|
||||
order: props.order,
|
||||
userParams: props.userParams,
|
||||
skip: 0,
|
||||
});
|
||||
const store = arrayData.store;
|
||||
|
||||
|
|
|
@ -19,9 +19,7 @@ const { t } = useI18n();
|
|||
|
||||
const STATE_COLOR = {
|
||||
pending: 'positive',
|
||||
|
||||
managed: 'warning',
|
||||
|
||||
resolved: 'negative',
|
||||
};
|
||||
function stateColor(code) {
|
||||
|
|
Loading…
Reference in New Issue