自动检测国际化
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
392ca13c16
commit
66260c5012
|
@ -530,11 +530,11 @@ async function VueInit() {
|
|||
VueInit()
|
||||
createVersionPolling({
|
||||
appETagKey: "__APP_ETAG__",
|
||||
pollingInterval: 5 * 1000, // 单位为毫秒
|
||||
pollingInterval: 5 * 60 * 1000, // 单位为毫秒
|
||||
silent: process.env.NODE_ENV === false, // 开发环境下不检测
|
||||
onUpdate: (self) => {
|
||||
// 当检测到有新版本时,执行的回调函数,可以在这里提示用户刷新页面
|
||||
const result = confirm("页面有更新,点击确定刷新页面!");
|
||||
const result = confirm(_vm.$t("versionPolling:tip"));
|
||||
if (result) {
|
||||
self.onRefresh();
|
||||
} else {
|
||||
|
|
|
@ -122,7 +122,7 @@ export default {
|
|||
EmailSMTPServerAddress: [{ required: true, message: this.$t('common:ruleMessage:specify') }],
|
||||
EmailSMTPServerPort: [{ required: true, message: this.$t('common:ruleMessage:specify') },{
|
||||
type: "number",
|
||||
min: 1,
|
||||
min: 1,
|
||||
max: 65535,
|
||||
message: this.$t("common:ruleMessage:portPattern"),
|
||||
trigger: "blur",
|
||||
|
|
Loading…
Reference in New Issue