p-pc-ui 1.3.6 → 1.3.8
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.
|
@@ -609,8 +609,8 @@ defineExpose({
|
|
|
609
609
|
</div>
|
|
610
610
|
</a-upload>
|
|
611
611
|
|
|
612
|
-
<component v-if="renderItem.type == 'component'" :is="renderItem.component"></component>
|
|
613
|
-
|
|
612
|
+
<component v-if="renderItem.type == 'component'" :is="renderItem.component" v-model:[renderItem.key]="formState[renderItem.key]"></component>
|
|
613
|
+
</div>
|
|
614
614
|
</a-form-item>
|
|
615
615
|
</div>
|
|
616
616
|
|
|
@@ -326,7 +326,7 @@ defineExpose({
|
|
|
326
326
|
<template v-else-if="column['type'] === 'operate'">
|
|
327
327
|
<div style="display: flex; gap: 10px; justify-content: center">
|
|
328
328
|
<span v-for="item in column['operateButtons']">
|
|
329
|
-
<a v-if="item.visibleFunc && item.visibleFunc(record)" class="operate-a" @click="item.click(record)">
|
|
329
|
+
<a v-if="!item.visibleFunc ||(item.visibleFunc && item.visibleFunc(record))" class="operate-a" @click="item.click(record)">
|
|
330
330
|
{{ item.label }}</a
|
|
331
331
|
>
|
|
332
332
|
</span>
|