Commit 59104af9 by qinjianhui

fix: 代码优化

parent 5c5b1b42
......@@ -27,4 +27,4 @@ Vue3 + Element Plus + Pinia + Axios + TypeScript + Vite
-- 只编写解决问题所需的最少代码
-- 避免冗余实现和过渡设计
-- 实现一个复杂功能时,需要合理拆分组件,使每个文件的代码更易维护
-- 疯转组件时,要考虑组件的复用性
-- 封装组件时,要考虑组件的复用性
......@@ -47,7 +47,7 @@ declare global {
interface Window {
LODOP: new () => LODOPObject
_lodop: LODOPObject | null
_lodopCallback: { [key: string]: Function }
_lodopCallback: { [key: string]: (value: string) => void }
CLODOP: CLodopObject
getCLodop: () => LODOPObject
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment