fixed backend imports
This commit is contained in:
@ -30,6 +30,14 @@ import SoftwareSpecifications from "../components/server/SoftwareSpecifications.
|
||||
import NetworkSpecifications from "../components/server/NetworkSpecifications.vue";
|
||||
import AssetSearch from "../components/AssetSearch.vue";
|
||||
import AssetSolutionList from "../components/server/AssetSolutionList.vue";
|
||||
import { useStore } from 'vuex';
|
||||
import { computed } from 'vue';
|
||||
|
||||
const store = useStore();
|
||||
const onAssetlist = computed(() => store.state.onAssetlist);
|
||||
const onCustomerAssetlist = computed(() => store.state.onCustomerAssetlist);
|
||||
const onAsset = computed(() => store.state.onAsset);
|
||||
const onSolutionlistAsset = computed(() => store.state.onSolutionlistAsset);
|
||||
|
||||
definePageMeta({
|
||||
layout: 'default'
|
||||
@ -41,20 +49,6 @@ const darkMode = ref(true)
|
||||
<script>
|
||||
export default {
|
||||
name: "AssetPage",
|
||||
computed: {
|
||||
onAssetlist() {
|
||||
return this.$store.state.onAssetlist
|
||||
},
|
||||
onCustomerAssetlist() {
|
||||
return this.$store.state.onCustomerAssetlist
|
||||
},
|
||||
onAsset() {
|
||||
return this.$store.state.onAsset
|
||||
},
|
||||
onSolutionlistAsset() {
|
||||
return this.$store.state.onSolutionlistAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user