fix(component name): changed from Block.vue to SmartBlock.vue
This commit is contained in:
parent
40f8500d1f
commit
c239eefb84
5 changed files with 3 additions and 7 deletions
|
@ -15,10 +15,6 @@ const emit = defineEmits([
|
||||||
'saveItem'
|
'saveItem'
|
||||||
])
|
])
|
||||||
|
|
||||||
const props = defineProps({
|
|
||||||
item: Object,
|
|
||||||
})
|
|
||||||
|
|
||||||
const smartBlockStore = useSmartBlockStore();
|
const smartBlockStore = useSmartBlockStore();
|
||||||
const item = smartBlockStore.currentSmartBlock;
|
const item = smartBlockStore.currentSmartBlock;
|
||||||
console.log(smartBlockStore.currentSmartBlock)
|
console.log(smartBlockStore.currentSmartBlock)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {ref} from "vue";
|
import {ref} from "vue";
|
||||||
import Archive from "@/components/content/Archive.vue";
|
import Archive from "@/components/content/Archive.vue";
|
||||||
import Blocks from "@/components/content/Blocks.vue";
|
import Blocks from "@components/content/SmartBlock.vue";
|
||||||
|
|
||||||
const tab = ref(null)
|
const tab = ref(null)
|
||||||
const tabs = [
|
const tabs = [
|
||||||
|
|
|
@ -55,7 +55,7 @@ export function smartblock_page() {
|
||||||
let url = '/smartblock'
|
let url = '/smartblock'
|
||||||
if (item.id > 0) {
|
if (item.id > 0) {
|
||||||
item['_method'] = 'PUT'
|
item['_method'] = 'PUT'
|
||||||
url = `smartblock/${item.id}/`
|
url += `/${item.id}/`
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(url)
|
console.log(url)
|
||||||
|
|
|
@ -15,7 +15,7 @@ const tabs = {
|
||||||
show: defineAsyncComponent(() => import('@components/content/Show.vue')),
|
show: defineAsyncComponent(() => import('@components/content/Show.vue')),
|
||||||
archive: defineAsyncComponent(() => import('@components/content/Archive.vue')),
|
archive: defineAsyncComponent(() => import('@components/content/Archive.vue')),
|
||||||
playlist: defineAsyncComponent(() => import('@components/content/Playlist.vue')),
|
playlist: defineAsyncComponent(() => import('@components/content/Playlist.vue')),
|
||||||
blocks: defineAsyncComponent(() => import('@components/content/Blocks.vue')),
|
blocks: defineAsyncComponent(() => import('@components/content/SmartBlock.vue')),
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue