mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-19 03:55:50 +08:00
fix(vue-components): iterator-container 传递 page-fragment-contianer-id 参数
This commit is contained in:
parent
6cb08cf458
commit
7799a5da61
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"name": "@tmagic/vue-iterator-container",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
@ -8,6 +8,7 @@
|
||||
:iterator-container-id="
|
||||
config.id ? [...(iteratorContainerId || []), config.id] : [...(iteratorContainerId || [])]
|
||||
"
|
||||
:page-fragment-container-id="pageFragmentContainerId"
|
||||
></IteratorItem>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -6,6 +6,7 @@
|
||||
:config="config"
|
||||
:iterator-index="iteratorIndex"
|
||||
:iterator-container-id="iteratorContainerId"
|
||||
:page-fragment-container-id="pageFragmentContainerId"
|
||||
></component>
|
||||
</template>
|
||||
|
||||
@ -29,6 +30,7 @@ export default defineComponent({
|
||||
iteratorIndex: Array as PropType<number[]>,
|
||||
iteratorContainerId: Array as PropType<Id[]>,
|
||||
containerIndex: Number,
|
||||
pageFragmentContainerId: [String, Number] as PropType<Id>,
|
||||
index: Number,
|
||||
model: {
|
||||
type: Object,
|
||||
|
Loading…
x
Reference in New Issue
Block a user