使用 npm install dg-client-sentry -s import daguDebug from "dg-client-sentry"; new dgSentry({ url: '127.0.0.1', //上报地址 platform: "otani", //应用名称 env: process.env.NODE_ENV || "production", // 环境 vue: Vue, // vue 实例 version: "1.0.5", // 版本号 sentry: true, // 是否开启监控 });