d24f7d81 by 杨炀

no message

1 parent 47cab37a
......@@ -170,7 +170,6 @@ function save() {
match.saveMyBaseInfo(myform.value).then(res => {
ElMessage.success(language.value==0?'保存成功':'Save successfully')
})
}
function checkCode() {
......
......@@ -36,7 +36,7 @@
</div>
<div class="text-center mt20">
<el-button type="primary" plain @click="switchPerson">{{language==0?'切换':'Switch'}}</el-button>
<el-button type="primary" class="w100" round @click="switchPerson">{{language==0?'切换':'Switch'}}</el-button>
</div>
<div class="tip">
<span v-if="language==0">*如果您参加个人项目,或给其他组合/选手进行报名,请点击切换按钮重新选择人员</span>
......
......@@ -217,7 +217,7 @@ const {
} = toRefs(data)
const matchId = ref('0')
onMounted(() => {
if(user.utype=='1'||user.utype=='2'){
if(user?.utype=='1'||user?.utype=='2'){
router.push({name: 'matchList'})
}
if (language.value == 1) {
......
......@@ -84,8 +84,8 @@ export default defineConfig(({ mode, command }) => {
'/dev-api': {
// target: 'http://192.168.1.118:8081/',
// target: 'http://192.168.1.131:8081/',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
target: 'https://wdsfwuxicenter.com/stage-api/',
target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!