|
|
@@ -108,7 +108,15 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 提交结果弹窗 -->
|
|
|
- <cwg-popup :visible="dialogCheck" :showClose="false" :showFooters="false">
|
|
|
+ <cwg-popup
|
|
|
+ :visible="dialogCheck"
|
|
|
+ :showClose="false"
|
|
|
+ :showFooters="true"
|
|
|
+ :confirmText="t('Btn.Confirm')"
|
|
|
+ :cancelText="t('Btn.Cancel')"
|
|
|
+ @confirm="closeDia"
|
|
|
+ @close="closeDia"
|
|
|
+ >
|
|
|
<view class="result-dialog">
|
|
|
<view v-if="dialogVisible" class="icon-wrap">
|
|
|
<cwg-icon name="icon_success" :size="50" color="#67C23A" />
|
|
|
@@ -119,10 +127,6 @@
|
|
|
<cwg-icon name="icon_warning" :size="50" color="#E6A23C" />
|
|
|
<view class="result-text">{{ RES }}</view>
|
|
|
</view>
|
|
|
- <view class="dialog-footer">
|
|
|
- <button type="primary" @click="closeDia">{{ t('Btn.Confirm') }}</button>
|
|
|
- <button @click="closeDia">{{ t('Btn.Cancel') }}</button>
|
|
|
- </view>
|
|
|
</view>
|
|
|
</cwg-popup>
|
|
|
|
|
|
@@ -271,7 +275,8 @@ const newAccount = async () => {
|
|
|
// 关闭弹窗
|
|
|
const closeDia = () => {
|
|
|
formRef.value?.clearValidate()
|
|
|
- // 也可以选择重置表单: Object.assign(params, { currency: '', commission: '', leverage: '', accountType: '', platform: '' })
|
|
|
+ // 也可以选择重置表单:
|
|
|
+ Object.assign(params, { currency: '', commission: '', leverage: '', accountType: '', platform: '' })
|
|
|
dialogCheck.value = false
|
|
|
dialogVisible.value = false
|
|
|
}
|