-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #235 from mgz0227/dev_2008
书架分组db;书架管理跳转页面数据db操作;书籍长按弹窗功能db操作;
- Loading branch information
Showing
36 changed files
with
1,395 additions
and
1,219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* @author 2008 | ||
* @datetime 2024/7/29 12:44 | ||
* @className: ToolsUtils | ||
* 工具类方法 | ||
*/ | ||
export class ToolsUtils { | ||
//数字转换数组 | ||
numberArrays(ids:number|number[]){ | ||
let Ids:number[] = [] | ||
if (typeof ids === 'number'){ | ||
Ids.push(ids) | ||
} else { | ||
Ids = ids | ||
} | ||
return Ids | ||
} | ||
//字符串转换数组 | ||
stringArrays(ids:string|string[]){ | ||
let Ids:string[] = [] | ||
if (typeof ids === 'string'){ | ||
Ids.push(ids) | ||
} else { | ||
Ids = ids | ||
} | ||
return Ids | ||
} | ||
} | ||
|
||
const toolsUtils = new ToolsUtils(); | ||
export default toolsUtils as ToolsUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.