Skip to content

React+Vite 项目,开发阶段能正常使用,但是打包后放到服务器上好像没有效果了===The React+Vite project works normally during the development stage, but it seems to have no effect after being bundled and deployed to the server #145

@YaoJunhaoya

Description

@YaoJunhaoya

DisableDevtool({ ondevtoolopen: (type) => { console.log("开发者工具被打开", type); debugger; window.location.href = "https://www.spp.gov.cn/spp/llyj/202202/t20220215_544538.shtml"; }, disableMenu: false, // 禁用右键菜单 clearLog: false, // 清除控制台日志 // 是否在iframe中禁用所有父窗口 disableIframeParents: true, // 使用所有检测方式 mode: "all", interval: 1000, // 检测间隔 });

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