ICode9

精准搜索请尝试: 精确搜索
  • vue3中axios的配置2022-09-16 16:02:22

    安装axios依赖 yarn add axios 或 npm install axios --save src目录下创建相关文件夹 各文件内容 【config/request.js】 import axios from "axios"; // import store from "@/store"; // 创建并配置一个新的axios const service = axios.create({ baseURL: process.env.

  • [转]使用 exec 函数时需要注意的一些安全问题2022-08-22 18:31:03

    转载地址:https://www.ucloud.cn/yun/37950.html 众所周知,在 python 中可以使用 exec 函数来执行包含 python 源代码的字符串: >>> code = """ ...: a = "hello" ...: print(a) ...: """ >>> exec(code) hello >>> a "

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有