perf: 优化数据结构

This commit is contained in:
kuaifan 2025-04-07 14:21:05 +08:00
parent d7902b4d08
commit 3bdfaab158
4 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,7 @@
ref="modal"
v-model="show"
:closable="escClosable"
:mask="!isFullscreen"
:mask-closable="maskClosable"
:footer-hide="true"
:transition-names="[$A.isAndroid() ? '' : `drawer-slide-${transitionName}`, '']"
@ -85,7 +86,7 @@ export default {
return this.isFullscreen ? 'bottom' : this.placement
},
modalClass() {
if(this.isFullscreen){
if (this.isFullscreen) {
return "common-drawer-modal"
}
if (this.className) {

View File

@ -1,6 +1,7 @@
<template>
<Modal class-name="dialog-droup-word-chain"
v-model="show"
:mask="!isFullscreen"
:mask-closable="false"
:title="dialogGroupVote.type == 'create' ? $L('发起投票') : $L('投票结果')"
:closable="!isFullscreen"

View File

@ -1,6 +1,7 @@
<template>
<Modal class-name="dialog-droup-word-chain"
v-model="show"
:mask="!isFullscreen"
:mask-closable="false"
:title="dialogDroupWordChain.type == 'create' ? $L('发起接龙') : $L('接龙结果')"
:closable="!isFullscreen"

View File

@ -328,7 +328,7 @@ export default {
// 异常提示
reason.ret = -1001
reason.msg = params.checkNetwork !== false ? false : $A.L('网络异常,请稍后重试。')
if (params.checkNetwork !== false) {
if (params.checkNetwork !== false && $A.Ready !== false) {
state.ajaxNetworkException = $A.L("网络连接失败,请检查网络设置。")
}
}