Skip to content

CHAT对象,在不同页面如何做到同步变化(响应式) #7

Description

@jiaozhe0

我看到你是在ChatBody.vue文件 里把 数据渲染出来的,是直接导入CHAT 对象,然后把CHAT.msgArr属性传递给子组件,那是如何做到Chat对象属性改变,ChatBody.vue 组件的Chat 对象也响应式的改变了(同步)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions