一、在chrome地址栏中输入chrome://flags/#unsafely-treat-insecure-origin-as-secure 二、在上图中修改: 1. Allow invalid certificates for resources loaded from localhost 为 “Enabled” 2. 添加对应站点到图中黄色高亮处的文本框,同时修改Insecure origins treated as secure 为 “Enabled”