This commit is contained in:
yanran200730
2022-08-02 17:46:57 +08:00
parent 845db90a35
commit 2e90b6adf0

View File

@@ -27,7 +27,7 @@
<ai-monitor :src="data.src" v-else-if="data.type === 'monitor'" :type="data.monitorType"/> <ai-monitor :src="data.src" v-else-if="data.type === 'monitor'" :type="data.monitorType"/>
<video style="width: 100%; height: 100%; object-fit: fill;" loop :src="data.src" autoplay v-else-if="data.type === 'video'"/> <video style="width: 100%; height: 100%; object-fit: fill;" loop :src="data.src" autoplay v-else-if="data.type === 'video'"/>
<AiDvPartyOrg style="width: 100%; height: 100%;" v-else-if="data.type === 'partyOrg'" :instance="instance"/> <AiDvPartyOrg style="width: 100%; height: 100%;" v-else-if="data.type === 'partyOrg'" :instance="instance"/>
<ai-sprite v-else-if="/building/.test(data.type)" v-bind="data" is3D @init="mods[data.type]"/> <!-- <ai-sprite v-else-if="/building/.test(data.type)" v-bind="data" is3D @init="mods[data.type]"/> -->
</ai-dv-panel> </ai-dv-panel>
</div> </div>
</template> </template>
@@ -47,7 +47,7 @@ export default {
name: 'AiDvRender', name: 'AiDvRender',
props: ['data', 'index', 'theme', 'instance'], props: ['data', 'index', 'theme', 'instance'],
components: { components: {
AiSprite, // AiSprite,
AiDvSummary, AiDvSummary,
AiDvDisplay, AiDvDisplay,
AiDvPanel, AiDvPanel,
@@ -56,7 +56,7 @@ export default {
}, },
data() { data() {
return { return {
mods, // mods,
chartList, chartList,
map: null, map: null,
lib: null lib: null