This commit is contained in:
2020-04-21 21:18:34 +00:00
parent eda73f8342
commit 2b51b8716a

View File

@@ -210,16 +210,18 @@
ref="wiki"
v-model="obj.wiki"
:readonly="formState.readOnly"
:parentVM="this"
@input="fieldValueChanged('wiki')"
></gz-wiki
></v-col>
<v-col v-if="form().showMe(this, 'Attachments')" cols="12">
<v-col
v-if="form().showMe(this, 'Attachments') && obj.id"
cols="12"
>
<gz-attachments
:readonly="formState.readOnly"
:parentVM="this"
:ayaType="ayType"
:ayaId="obj.id"
></gz-attachments
></v-col>
</v-row>
@@ -246,7 +248,6 @@ const FORM_KEY = "widget-edit";
const API_BASE_URL = "Widget/";
const FORM_CUSTOM_TEMPLATE_KEY = "Widget";
export default {
created() {
let vm = this;