mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
perf: standard code format
This commit is contained in:
@@ -2,14 +2,18 @@ import { App } from "vue";
|
||||
import reNormalCountTo from "./src/normal";
|
||||
import reboundCountTo from "./src/rebound";
|
||||
|
||||
export const ReNormalCountTo = Object.assign(reNormalCountTo, {
|
||||
/** 普通数字动画组件 */
|
||||
const ReNormalCountTo = Object.assign(reNormalCountTo, {
|
||||
install(app: App) {
|
||||
app.component(reNormalCountTo.name, reNormalCountTo);
|
||||
}
|
||||
});
|
||||
|
||||
export const ReboundCountTo = Object.assign(reboundCountTo, {
|
||||
/** 回弹式数字动画组件 */
|
||||
const ReboundCountTo = Object.assign(reboundCountTo, {
|
||||
install(app: App) {
|
||||
app.component(reboundCountTo.name, reboundCountTo);
|
||||
}
|
||||
});
|
||||
|
||||
export { ReNormalCountTo, ReboundCountTo };
|
||||
|
||||
Reference in New Issue
Block a user