摘要: 1、静态语法 freemarker项目的静态页面用的是ftl文件,和html用法大致相同,但不支持模板字符串,因为ftl会使用${xx}语法引入java中的值。 2、组件传值 a.ftl: <#assign message=(dataDetail.result.dataList["姓名"]!"无名氏 阅读全文
posted @ 2025-05-20 16:33 Lulu1007 阅读(26) 评论(0) 推荐(0)
摘要: 做项目的时候发现文件被track了但是代码页面没有修改记录,不方便操作,还以为是freemarker的问题。把git日志发给deepseek后发现是文件大小写的问题。 问题根源 大小写不一致日志中显示以下两条关键操作: 复制 下载 git blame ... searchTopo.ftl # 大写 阅读全文
posted @ 2025-05-16 11:31 Lulu1007 阅读(436) 评论(0) 推荐(0)
摘要: vue2项目实现兼容chrome69 项目:vue2+webpack。需要针对360浏览器进行兼容。 解决:使用babel解决语法问题(注意babel-polyfill已经废弃,所以引入其包含了其功能的包:corejs和regenerator-runtime,详见https://juejin.cn/ 阅读全文
posted @ 2025-04-30 14:12 Lulu1007 阅读(210) 评论(0) 推荐(0)
摘要: gitee先建立仓库,不要初始化。 找到本地仓库目录,输入指令: git remote add origin (git地址) git push -u origin "master" 阅读全文
posted @ 2025-04-22 15:47 Lulu1007 阅读(14) 评论(0) 推荐(0)
摘要: #### Item 1 The BBC has learned the British **Prime Minister** Gordon Brown has decided the British general election will take place on May 6th. Mr. B 阅读全文
posted @ 2023-06-12 16:51 Lulu1007 阅读(200) 评论(0) 推荐(0)