修改选择国家文案

This commit is contained in:
X1627315083
2025-09-19 18:45:53 +08:00
parent 3cbb448520
commit acb7767102
6 changed files with 31 additions and 30 deletions

View File

@@ -22,7 +22,7 @@
</a-range-picker>
</div>
<!-- <div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<a-select
v-model:value="country"
:allowClear="true"

View File

@@ -22,7 +22,7 @@
</a-range-picker>
</div>
<div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<a-select
v-model:value="country"
:allowClear="true"

View File

@@ -26,7 +26,7 @@
<a-select v-model:value="userType" size="large" style="width:250px" optionFilterProp="label" :options="state" placeholder="Please select" allowClear show-search></a-select>
</div> -->
<div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<a-select
v-model:value="country"
:allowClear="true"

View File

@@ -92,7 +92,7 @@
/>
</div>
<div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<input
:disabled="title != 'Add'"
:class="{active:title != 'Add'}"

View File

@@ -23,7 +23,7 @@
</a-range-picker>
</div>
<div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<a-select
v-model:value="country"
:allowClear="true"

View File

@@ -812,31 +812,32 @@ methods: {
},
setImageIndex(index:any){
if(this.isNext)return
let this_ = this
if(this.isCanvas){
this.isNext = true
new Promise((resolve,reject)=>{
Modal.confirm({
title: this.t('scaleImage.submitCanvas'),
icon: createVNode(ExclamationCircleOutlined),
okText: 'Yes',
cancelText: 'No',
mask:false,
centered:true,
onOk() {
this_.scaleImageIndex = index
this_.isNext = false
resolve('')
},
onCancel(){
this_.isNext = false
resolve('')
}
});
})
}else{
this.scaleImageIndex = index
}
// let this_ = this
// if(this.isCanvas){
// this.isNext = true
// new Promise((resolve,reject)=>{
// Modal.confirm({
// title: this.t('scaleImage.submitCanvas'),
// icon: createVNode(ExclamationCircleOutlined),
// okText: 'Yes',
// cancelText: 'No',
// mask:false,
// centered:true,
// onOk() {
// this_.scaleImageIndex = index
// this_.isNext = false
// resolve('')
// },
// onCancel(){
// this_.isNext = false
// resolve('')
// }
// });
// })
// }else{
// this.scaleImageIndex = index
// }
this.scaleImageIndex = index
},
LikeFile(item:any,str:string){
let parent:any = this.$parent