上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 40 下一页
摘要: 记录时间:2024-03-01 一、 核心模块system组成 1.公共模块common 2.配置模块config 3.数据类型模块types 4.系统数据模块:store 5.系统服务service/system 6.系统工具utils/system 翻译 搜索 复制 阅读全文
posted @ 2024-03-01 18:50 lizhigang 阅读(12) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-29 一、useSystemService模块实现 service/system/useTerminalService.ts import * as config from '@/config' import { Terminal, Receipt } from '@/ty 阅读全文
posted @ 2024-02-29 16:26 lizhigang 阅读(28) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-29 一、useSystemUtil模块实现 utils/system/useCommonUtil.ts import { hydate, serveWebApi } from '@/common' // 获取当前格式化时间(毫秒级) const getNowFormatD 阅读全文
posted @ 2024-02-29 16:18 lizhigang 阅读(21) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-28 一、useSystemStore模块实现 types/system.ts import { Terminal } from './terminal' import { Device } from './device' import { FlowConfig } fro 阅读全文
posted @ 2024-02-28 16:24 lizhigang 阅读(18) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-28 一、准备工作 【使用“文心一言”搜索】 Vue项目,推荐与模型数据有关的问题 当然,以下是与Vue项目中模型数据相关的一些推荐问题: 模型数据应该存储在哪里? 考虑到数据的大小、敏感性和使用频率,我应该将模型数据存储在客户端、服务器端还是两者都存储? 对于存储在客户端 阅读全文
posted @ 2024-02-28 09:11 lizhigang 阅读(19) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-27 【使用“文心一言”搜索】指令:Vue项目使用ts setup 语法,实现页面遮幕弹框,封装Hook函数,包含ShowAlert、ShowConfirm、ShowPrompt、ShowMsg、ShowError、HideMsg、PageLoading、PageLoade 阅读全文
posted @ 2024-02-27 09:45 lizhigang 阅读(106) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-26 【使用“文心一言”搜索】 指令:Vue项目使用ts setup 语法,实现页面倒计时,封装Hook函数,包含start、reset、stop 在Vue 3中,你可以使用<script setup>语法和Composition API来封装一个倒计时Hook函数,该函数 阅读全文
posted @ 2024-02-27 09:29 lizhigang 阅读(352) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-27 一、准备工作 【使用“文心一言”搜索】 Vue 3中的Hook(如setup、onMounted、onUpdated等)具体是如何工作的?它们与组件的生命周期有何关联? Vue 3引入了Composition API,这是一种新的、可选的方式来组织和重用Vue组件的逻 阅读全文
posted @ 2024-02-27 09:01 lizhigang 阅读(247) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-27 一、准备工作 【使用“文心一言”搜索】 Vue中的生命周期钩子与React中的生命周期方法有何异同? Vue 3中的Hook是组合式API的一部分,它们提供了一种新的方式来组织和复用组件逻辑。这些Hook函数,如setup、onMounted、onUpdated等,都 阅读全文
posted @ 2024-02-27 08:57 lizhigang 阅读(341) 评论(0) 推荐(0)
摘要: 记录时间:2024-02-26 一、准备工作 【使用“文心一言”搜索:Vue.js中模块和插件有什么区别?】 在Vue.js中,模块(Modules)和插件(Plugins)都是用于扩展和增强Vue.js功能的方式,但它们在使用和目的上有一些不同。 模块(Modules) 模块是Vue.js中组织代 阅读全文
posted @ 2024-02-26 09:59 lizhigang 阅读(54) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 40 下一页