5 月 18 日
- 部署测试环境
5 月 17 日
- 目前的 table 组件需要更新的配置还是非常多的,按目前的数据元配置其实是不够的:
- 前后端所需要配置的参数并不相同,需要进行区分,如宽度等等
- 当要配置非常多时在数据元就并不合理了,最好是能搭建一个配置平台配置前端所需要的字段
- 学习了 tsconfig 中 include 和 exclude 详解:https://blog.csdn.net/weixin_40013817/article/details/127200956
- 修改了 mp-h5 的中 tsconfig,减少不必要的引入
- 学习了 JSON.stringify()和 JSON.parse()的用法:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
- 第二个参数替换非常好用,合适处理对象的基本数据类型
5 月 16 日
- 大致的了解了 ivx:
- 是一种新的编程语言,更多的是通过配置
- 底层代码是 react 和 go
- 需要重点学习的应该是原理和设计,系统架构
- 使用上应该并不复杂,重点学习自定义和事件面板,编译各平台
- 排查 mp-h5 dev 项目修改 ts 类型不会热更新问题
- 排查思路大致为使用其他的项目进行配置替换,看是否会热更新
- 未解决,可能是 ts 类型的问题,需要研究下
5 月 15 日
- 使用了数据元配置,生成表格和查询,还是十分方便的,只需要修改部分指标即可,后期可以加入编辑出现表单的功能和删除的功能,目前只是一种尝试,后面应该需要研究低代码引擎或平台,进行结合使用,需要研究出码
- 低代码平台:https://www.ivx.cn/docview?page=r49119#
- 低代码引擎:https://lowcode-engine.cn/site/docs/guide/quickStart/intro
5 月 14 日
- 产品构想:数据元配置、数据查询、表单生成、流程控制
- 未来发展:https://youtu.be/H48R3xq7IRI
5 月 12 日
获取 vue 组件传入的插槽:useSlots
将博客通过 vuepress 部署到 github,并解决部署错误,应该是 github Action 更新了提示是 pnpm 锁文件错误,提交上去后会显示不支持 pnpm.lock 文件,修改 togithub.yml 文件
name: build to my github on: push: branches: - main jobs: deploy: runs-on: ubuntu-latest # strategy: # matrix: # node-version: [node16] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 16 - name: Install PNPM run: npm i -g pnpm - name: Install & Build run: pnpm install --no-frozen-lockfile && pnpm run build # - name: CreateTag # run git tag -a - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/.vitepress/dist
5 月 11 日
- 数据元配置结合 vxe-table 生成表格和搜索条件
- Pinia 报错解决:https://pinia.vuejs.org/core-concepts/outside-component-usage.html#single-page-applications
5 月 10 日
- vue3 前端项目一步一步自动化部署到 linux 的 nginx 服务上 https://juejin.cn/post/7133371713059815432
- vue ts 和 js 混用 https://blog.csdn.net/qq_52971866/article/details/126753759
- 报错:Loading chunk failed https://blog.csdn.net/yueye_wu/article/details/126410139 http://www.zhano.cn/JavaScript/58890.html router.replace 并不一定会生效,因为后期未复现