03 2024 档案
摘要:这个问题很有可能是因为 Vue Router 的模式和 Nginx 配置之间的冲突导致的。当你在 Vue 应用中使用 Vue Router 的 `history` 模式时,URL 会变成美观的形式,就像 `http://mywebsite/myroute`,而不是 `http://mywebsite
阅读全文
摘要:本地项目前后端会出现跨域问题,若依的前端会通过反向代理解决。 若依前端通过拼接字符串 在devServer 里配置 proxy 属性,但是需要配置webpack 。通过vue.config.js修改 devServer: { proxy: { '/api': { target: 'http://lo
阅读全文
摘要:若依中查询表名的sql语句 <select id="selectDbTableList" parameterType="GenTable" resultMap="GenTableResult"> select table_name, table_comment, create_time, updat
阅读全文
摘要:1. 导入 Pandas 库 import pandas as pd 2. 创建 DataFrame 对象 # 从列表创建 data = [['Alice', 25], ['Bob', 30], ['Charlie', 35]] df = pd.DataFrame(data, columns=['N
阅读全文
摘要:基本类型: String 存储数据: stringRedisTemplate.opsForValue().set("key", "value"); 获取数据: String value = stringRedisTemplate.opsForValue().get("key"); 设置数据的过期时间
阅读全文
摘要:ls - 列出目录内容 示例:ls -l(以详细列表格式显示文件) cd - 切换工作目录 示例:cd /path/to/directory pwd - 显示当前工作目录的路径 mkdir - 创建新目录 示例:mkdir new_directory cp - 复制文件或目录 示例:cp file1
阅读全文