1.update:visible更新数据不生效 父组件传递的visible值不是ref定义的响应值,要加v-model修饰符 v-model:visible="chartsConfig.visible"