Skip to content

Commit

Permalink
style: 全局格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Oct 7, 2023
1 parent 5fd58db commit e33819c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions packages/fighting-design/_hooks/use-watermark/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { ComputedRef } from 'vue'

/**
* useWatermark 返回值类型接口
*
*
* @param { string } base64 base64 格式图片
* @param { number } size 图片尺寸
*/
Expand All @@ -15,9 +15,9 @@ export interface UseWatermarkReturn {

/**
* 生成水印图片
*
*
* @param { Object } prop prop 参数
* @returns
* @returns
*/
export const useWatermark = (prop: WatermarkProps): ComputedRef<UseWatermarkReturn> => {
return computed((): UseWatermarkReturn => {
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
},
"homepage": "https://fighting.tianyuhao.cn",
"repository": "https://github.com/FightingDesign/fighting-design"
}
}
6 changes: 1 addition & 5 deletions packages/fighting-design/watermark/src/props.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
setStringProp,
setNumberProp,
setStringNumberProp
} from '../../_utils'
import { setStringProp, setNumberProp, setStringNumberProp } from '../../_utils'
import type { ExtractPropTypes } from 'vue'

export const Props = {
Expand Down

0 comments on commit e33819c

Please sign in to comment.