diff --git a/README.md b/README.md index 38d3a02..1f070c7 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,12 @@ Global Highlights Hub 海外供应商平台 npm version [ | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git] npm version premajor --no-git-tag-version -npm version prerelease --no-git-tag-version +1.0.0 -> 2.0.0-0 +--preid beta | alpha | rc +npm version prerelease --preid beta --no-git-tag-version +2.0.0-0 -> 2.0.0-1 -> 2.0.0-2 ..n -> 2.0.0-n npm version patch --no-git-tag-version +2.0.0-n -> 2.0.0 "push:tag": "npm version patch && git.exe push --progress "origin" main:main" "push:tag": "npm version patch && git push origin master" diff --git a/src/pageSpy/index.jsx b/src/pageSpy/index.jsx index 0bfcd65..10c4c03 100644 --- a/src/pageSpy/index.jsx +++ b/src/pageSpy/index.jsx @@ -3,7 +3,7 @@ import { PROJECT_NAME } from '@/config'; export const loadPageSpy = (title) => { - if (window.$pageSpy) return + if (import.meta.env.DEV || window.$pageSpy) return const PageSpySrc = [ 'https://page-spy.mycht.cn/page-spy/index.min.js',