make new folder for reuse ngLib add new features for datatree like change add remove rename datapoints improve pingpong

This commit is contained in:
Adrian Zuercher
2025-07-25 18:37:18 +02:00
parent ffb8e4994e
commit 81b7f96abc
52 changed files with 2145 additions and 960 deletions

View File

@@ -4,17 +4,17 @@
</template>
<script setup lang="ts">
import DBMTree from 'src/components/dbm/DBMTree.vue';
import DBMTree from 'src/vueLib/dbm/DBMTree.vue';
import { api } from 'src/boot/axios';
import { NotifyResponse } from 'src/composables/notify';
import { useQuasar } from 'quasar';
import { useNotify } from 'src/vueLib/general/useNotify';
import { catchError } from 'src/vueLib/models/error';
const $q = useQuasar();
const { NotifyResponse } = useNotify();
function saveDBM() {
api
.get('saveData')
.then((resp) => NotifyResponse($q, resp.data))
.catch((err) => NotifyResponse($q, err));
.then((resp) => NotifyResponse(resp.data))
.catch((err) => NotifyResponse(catchError(err), 'error'));
}
</script>