@mixd-id/web-scaffold 0.1.240411099 → 0.1.240411100
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
package/src/components/List.vue
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
:preset-key="presetKey"
|
|
16
16
|
:use-assistant="useAssistant"
|
|
17
17
|
:use-sharing="useSharing"
|
|
18
|
+
:sharing-key="sharingKey"
|
|
18
19
|
@apply="load">
|
|
19
20
|
|
|
20
21
|
<template #toolbar>
|
|
@@ -276,6 +277,7 @@ export default{
|
|
|
276
277
|
config: Object,
|
|
277
278
|
defaultConfig: Function,
|
|
278
279
|
presetKey: String,
|
|
280
|
+
sharingKey: String,
|
|
279
281
|
subscribeKey: String,
|
|
280
282
|
controller: String,
|
|
281
283
|
title: String,
|
|
@@ -646,6 +646,8 @@ export default{
|
|
|
646
646
|
|
|
647
647
|
presetKey: String,
|
|
648
648
|
|
|
649
|
+
sharingKey: String,
|
|
650
|
+
|
|
649
651
|
enumCache: Object,
|
|
650
652
|
|
|
651
653
|
useAssistant: {
|
|
@@ -672,7 +674,7 @@ export default{
|
|
|
672
674
|
addSharing(item) {
|
|
673
675
|
const obj = {
|
|
674
676
|
...item,
|
|
675
|
-
key: this.presetKey,
|
|
677
|
+
key: this.sharingKey ?? this.presetKey,
|
|
676
678
|
presetUid: this.preset.uid
|
|
677
679
|
}
|
|
678
680
|
|