fix: 周计划-创建-取消获取当前用户信息
This commit is contained in:
@@ -130,12 +130,12 @@ let instance = null;
|
||||
let initCreate = (params)=>{
|
||||
const {itemList, selectIndex} = params;
|
||||
// 获取用户信息
|
||||
getUserInfo().then(res => {
|
||||
userInfo.value = res.user;
|
||||
console.log(route.path, ":用户信息获取成功");
|
||||
}).catch(err => {
|
||||
console.warn(err, "用户信息获取失败")
|
||||
});
|
||||
// getUserInfo().then(res => {
|
||||
// userInfo.value = res.user;
|
||||
// console.log(route.path, ":用户信息获取成功");
|
||||
// }).catch(err => {
|
||||
// console.warn(err, "用户信息获取失败")
|
||||
// });
|
||||
console.log(route.path,`:创建${itemList[selectIndex]}计划`);
|
||||
title.value="创建周计划";
|
||||
currentEditDate.value.yearMonth = getDate({format: true}).substring(0, 7); // 只要年月
|
||||
|
||||
Reference in New Issue
Block a user