fix(index page): add base url to version info modal
extend the version info popup to display the backend service base address
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import splashState from '@/common/js/splash-state.js';
|
||||
import Config from '@/common/js/config.js';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -160,7 +161,7 @@ export default {
|
||||
if (v && v.commitId) {
|
||||
uni.showModal({
|
||||
title: '版本信息',
|
||||
content: `提交 ID: ${v.commitId}\n构建时间: ${v.buildTime}`,
|
||||
content: `提交 ID: ${v.commitId}\n构建时间: ${v.buildTime}\n${Config.baseUrl}`,
|
||||
showCancel: false
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user