|
@@ -842,7 +842,7 @@ const props = withDefaults(defineProps<{
|
|
|
const userJson = ref<any>({})
|
|
const userJson = ref<any>({})
|
|
|
watch(() => props.userid, async (newVal) => {
|
|
watch(() => props.userid, async (newVal) => {
|
|
|
if (!newVal) return
|
|
if (!newVal) return
|
|
|
- const res = await axios.get('https://pbl.cocorobo.cn/api/pbl/selectUser', {
|
|
|
|
|
|
|
+ const res = await axios.get('https://pbl.cocorobo.cn/api/pbl/selectUser2', {
|
|
|
params: { userid: newVal }
|
|
params: { userid: newVal }
|
|
|
})
|
|
})
|
|
|
userJson.value = res[0][0] || {}
|
|
userJson.value = res[0][0] || {}
|