begun adding attachment support
This commit is contained in:
@@ -43,6 +43,11 @@
|
||||
<SMEditor v-model:model-value="form.content.value" />
|
||||
</SMColumn>
|
||||
</SMRow>
|
||||
<SMRow>
|
||||
<SMColumn>
|
||||
<SMInputAttachments :model-value="attachments" />
|
||||
</SMColumn>
|
||||
</SMRow>
|
||||
<SMRow>
|
||||
<SMFormFooter>
|
||||
<template #right>
|
||||
@@ -70,12 +75,14 @@ import SMEditor from "../../components/SMEditor.vue";
|
||||
import SMPage from "../../components/SMPage.vue";
|
||||
import SMForm from "../../components/SMForm.vue";
|
||||
import SMFormFooter from "../../components/SMFormFooter.vue";
|
||||
import SMInputAttachments from "../../components/SMInputAttachments.vue";
|
||||
|
||||
const route = useRoute();
|
||||
const userStore = useUserStore();
|
||||
const page_title = route.params.id ? "Edit Post" : "Create New Post";
|
||||
const pageError = ref(200);
|
||||
const authors = ref({});
|
||||
const attachments = ref(["4687166e-7f9e-4394-abdf-2d254c8bb087"]);
|
||||
|
||||
const form = reactive(
|
||||
FormObject({
|
||||
|
||||
Reference in New Issue
Block a user