完善 DiscWorker 打包路径与产品命名,底部展示前后端版本,生产环境隐藏默认菜单。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
:task-list="task_list"
|
||||
:log-list="displayLogs"
|
||||
:show-all-logs="showAll"
|
||||
:version-text="versionText"
|
||||
@open-work="onOpenWork"
|
||||
@go-settings="onGoSettings"
|
||||
@activate="onActivate"
|
||||
@@ -54,7 +55,7 @@
|
||||
<el-dialog title="关于 DiscWorker" :visible.sync="aboutVisible" width="400px">
|
||||
<div class="about-box">
|
||||
<div>国产光盘打印刻录系统 DiscWorker</div>
|
||||
<div>版本 1.0</div>
|
||||
<div>{{ versionText }}</div>
|
||||
<div>© 2023 cardsoon Co., Ltd.</div>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -92,6 +93,7 @@ import {
|
||||
help,
|
||||
getChangeCDDefault
|
||||
} from '@/utils/console/consoleActions'
|
||||
import { loadAppVersionLine } from '@/utils/console/appVersion'
|
||||
|
||||
export default {
|
||||
name: 'ConsolePage',
|
||||
@@ -103,6 +105,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
aboutVisible: false,
|
||||
versionText: '',
|
||||
taskNum: [0, 0, 0],
|
||||
task_list: [],
|
||||
printer_info: {},
|
||||
@@ -291,6 +294,9 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
loadAppVersionLine().then((text) => {
|
||||
this.versionText = text
|
||||
})
|
||||
if (this.isStaticView) {
|
||||
this.applyMock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user