版本号更新

This commit is contained in:
2025-05-06 15:38:23 +08:00
parent 5e34aaf402
commit 60f6fc4873
10 changed files with 139 additions and 19 deletions

View File

@@ -55,7 +55,7 @@
<!-- <el-button class="reset-button" @click="reset">重置数据</el-button> -->
</div>
</div>
</template>n
</template>
<el-row :gutter="20">
<el-col :span="8">
<div class="input-group">
@@ -211,6 +211,22 @@ const getIpInfo = async () => {
countryData.value = getCountryName(data.country);
} catch (error) {
console.error('请求出错:', error);
ElMessageBox.prompt('请输入将要获取国家的中文名', '获取国家失败', {
confirmButtonText: '确认',
cancelButtonText: '取消',
showClose: false,
closeOnClickModal: false,
showCancelButton: false,
})
.then(({ value }) => {
countryData.value = value
})
// .catch(() => {
// ElMessage({
// type: 'info',
// message: 'Input canceled',
// })
// })
}
};