pgo-ui 1.1.151 → 1.1.152
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
|
@@ -263,7 +263,8 @@ const props = defineProps({
|
|
|
263
263
|
type: Boolean,
|
|
264
264
|
default: false
|
|
265
265
|
},
|
|
266
|
-
lang:{ type: String, default: 'dv' }
|
|
266
|
+
lang:{ type: String, default: 'dv' },
|
|
267
|
+
tableDataRequired: { type: Boolean, default: true },
|
|
267
268
|
})
|
|
268
269
|
|
|
269
270
|
const tableLoading = ref(props.loading)
|
|
@@ -301,6 +302,7 @@ const showCustomModal = ref(false)
|
|
|
301
302
|
const customModalItem = ref(null)
|
|
302
303
|
const customComponentName = ref('')
|
|
303
304
|
const customModalConfig = ref({})
|
|
305
|
+
|
|
304
306
|
// const customModalComponentKey = ref('')
|
|
305
307
|
|
|
306
308
|
const componentMap = /** @type {Record<string, any>} */ ({
|
|
@@ -939,7 +941,7 @@ const handleCustomModalSubmit = () => {
|
|
|
939
941
|
|
|
940
942
|
// Update options from server response
|
|
941
943
|
watch(() => props.items, (newItems) => {
|
|
942
|
-
if (newItems?.componentSettings?.table) {
|
|
944
|
+
if (newItems?.componentSettings?.table && props.tableDataRequired) {
|
|
943
945
|
tableFetch(newItems.componentSettings.table)
|
|
944
946
|
}
|
|
945
947
|
if (newItems?.componentSettings?.card) {
|
package/dist/Radio-C34tgWfS.js
DELETED