centaline-data-driven-v3 0.0.63 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
</component>
|
|
133
133
|
</div>
|
|
134
134
|
<div style="min-height:200px" v-if="loading"></div>
|
|
135
|
+
<iframe :src="downloadUrl" style="height:0px;width:0px;border-width: 0px;display: none;"> </iframe>
|
|
135
136
|
</div>
|
|
136
137
|
</template>
|
|
137
138
|
<script lang="ts" setup>
|
|
@@ -201,6 +202,7 @@ const isWebScroll = ref(false)
|
|
|
201
202
|
const Fields = ref()
|
|
202
203
|
const refForm = ref()
|
|
203
204
|
const qrtimer = ref(null)
|
|
205
|
+
const downloadUrl = ref('')
|
|
204
206
|
onUpdated(() => {
|
|
205
207
|
nextTick(() => {
|
|
206
208
|
qrtimer.value = setTimeout(getisScroll, 100);
|
|
@@ -231,7 +233,7 @@ function init() {
|
|
|
231
233
|
function load(data) {
|
|
232
234
|
model.value = data
|
|
233
235
|
model.value.parentModelForm = props.parentModelForm
|
|
234
|
-
model.value.$vue = { fieldClickHandler, clickHandler, validExcute, emit, getFormObj, changeCallBackHandler, getFileData, Form, load, init, updateFields, itemKey };
|
|
236
|
+
model.value.$vue = { fieldClickHandler, clickHandler, validExcute, emit, getFormObj, changeCallBackHandler, getFileData, Form, load, init, updateFields, itemKey,downloadUrl };
|
|
235
237
|
model.value.$vue.openType = props.openType
|
|
236
238
|
model.value.isIframe = props.isIframe
|
|
237
239
|
if (model.value.scripts) {
|