feat(frontend): 店铺概览页添加导出按钮

- 新增 exportByPost 通用导出工具(处理 blob 下载)
- 店铺概览页导出按钮绑定事件,支持当前页面日期范围导出
- shop/apis.ts 新增导出 API 函数
This commit is contained in:
小蟑螂
2026-03-26 10:05:13 +08:00
parent 8867903e7b
commit f172c12e4f
7 changed files with 220 additions and 1 deletions
+42
View File
@@ -0,0 +1,42 @@
# EXAMPLE USAGE:
#
# Refer for explanation to following link:
# https://lefthook.dev/configuration/
#
# pre-push:
# jobs:
# - name: packages audit
# tags:
# - frontend
# - security
# run: yarn audit
#
# - name: gems audit
# tags:
# - backend
# - security
# run: bundle audit
#
# pre-commit:
# parallel: true
# jobs:
# - run: yarn eslint {staged_files}
# glob: "*.{js,ts,jsx,tsx}"
#
# - name: rubocop
# glob: "*.rb"
# exclude:
# - config/application.rb
# - config/routes.rb
# run: bundle exec rubocop --force-exclusion {all_files}
#
# - name: govet
# files: git ls-files -m
# glob: "*.go"
# run: go vet {files}
#
# - script: "hello.js"
# runner: node
#
# - script: "hello.go"
# runner: go run