Files
SpectralPlot/src-tauri/tauri.conf.json
xin d582d9a82b 修复连续采集时没有时间间隔导致通讯失败从而导致无有法正常连续采集的问题 修改如下
if (this.caijidirection=="UP")
            {
                await this.GetDataDrection("UP",caijiavgNumber);
                await  delay(100)

            }
            if (this.caijidirection=="DOWN")
               { await this.GetDataDrection("DOWN",caijiavgNumber);
                await  delay(100)
               }

            if (this.caijidirection=="ALL")
            {
                await this.GetDataDrection("UP",caijiavgNumber);
                await  delay(100)
                await this.GetDataDrection("DOWN",caijiavgNumber);
                await  delay(100)
            }
            if(this.caijidirection=="DARK")
            {
                await this.GetDataDrection("DARK",caijiavgNumber);
                await  delay(100)
            }
2024-07-03 11:05:42 +08:00

73 lines
1.2 KiB
JSON

{
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"devPath": "http://localhost:1420",
"distDir": "../dist",
"withGlobalTauri": true
},
"package": {
"productName": "SpectralPlot",
"version": "0.4.141"
},
"tauri": {
"allowlist": {
"process": {
"all": true
},
"all": false,
"shell": {
"all": false,
"open": true
},
"fs": {
"scope": ["**"],
"all": true
},
"dialog": {
"all": true
},
"window": {
"all": true
}
},
"windows": [
{
"title": "Spectral Plot",
"width": 0,
"height":0,
"resizable": true,
"fullscreen": false,
"decorations": true,
"minimizable": true,
"maximizable": true,
"visible": true
}
],
"security": {
"csp": null
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "lele.rlx",
"resources": [
"config.json"
],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}
}