mirror of
https://github.com/dataease/dataease.git
synced 2026-06-18 05:18:07 +08:00
fix: 更改版本号
This commit is contained in:
@@ -43,7 +43,7 @@ htmlStream.pipe(parserStream).on('finish', () => {
|
||||
}
|
||||
if (url.includes(suffix)) {
|
||||
prefix = new URL(url).origin
|
||||
const index = url.indexOf(\`/js/div_import_${suffix}\`)
|
||||
const index = url.indexOf(\`/js/div_import_0.0.0-dataease\`)
|
||||
if (index > 0) {
|
||||
prefix = url.substring(0, index)
|
||||
}
|
||||
@@ -77,6 +77,6 @@ htmlStream.pipe(parserStream).on('finish', () => {
|
||||
})
|
||||
document.documentElement.insertBefore(head, document.querySelector('body'))`
|
||||
|
||||
fs.writeFile(`../dist/js/div_import_${suffix}.js`, templateJs, err => {
|
||||
fs.writeFile(`../dist/js/div_import_0.0.0-dataease.js`, templateJs, err => {
|
||||
})
|
||||
})
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "dataease",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"version": "2.10.20",
|
||||
"scripts": {
|
||||
"dev": "NODE_OPTIONS=--max_old_space_size=4096 vite --mode dev --host 0.0.0.0",
|
||||
"build:flush": "cd ./flushbonading && rimraf ./demo.html && npm i && node ./index.js",
|
||||
|
||||
@@ -37,7 +37,7 @@ const getPrefix = (): string => {
|
||||
}
|
||||
if (url.includes(suffix)) {
|
||||
prefix = new URL(url).origin
|
||||
const index = url.indexOf(`/js/div_import_${suffix}`)
|
||||
const index = url.indexOf(`/js/div_import_0.0.0-dataease`)
|
||||
if (index > 0) {
|
||||
prefix = url.substring(0, index)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user