修改选择国家文案

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> </a-range-picker>
</div> </div>
<!-- <div class="admin_state_item"> <!-- <div class="admin_state_item">
<span>Country:</span> <span>Country or Region:</span>
<a-select <a-select
v-model:value="country" v-model:value="country"
:allowClear="true" :allowClear="true"

View File

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

View File

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

View File

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

View File

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