修复bug
This commit is contained in:
parent
665f8c34dd
commit
31797fb51a
@ -569,12 +569,11 @@ const messageGet = (token) => {
|
||||
* 得到tag列表
|
||||
* @param token
|
||||
*/
|
||||
const getTagsProjectList = (token) =>{
|
||||
const getTagsProjectList = () =>{
|
||||
return axios({
|
||||
url:api+ "/tags/project/list",
|
||||
method: "get",
|
||||
headers:{
|
||||
'Authorization':'Bearer '+token,
|
||||
'Timestamp': getCurrentTimestamp()
|
||||
}
|
||||
})
|
||||
|
@ -26,7 +26,7 @@ const user = reactive({
|
||||
onMounted(() => {
|
||||
initFlowbite();
|
||||
requests.userGetProfile(token).then((res)=>{
|
||||
console.log(res)
|
||||
// console.log(res)
|
||||
// if(token ===null){
|
||||
// router.push('/')
|
||||
// }
|
||||
|
@ -61,7 +61,7 @@ const id =ref(1)
|
||||
// console.log('current', current1.value);
|
||||
// });
|
||||
onMounted(() =>{
|
||||
request.getTagsProjectList(token).then(res=>{
|
||||
request.getTagsProjectList().then(res=>{
|
||||
console.log("tagsData:",res)
|
||||
tagsData.value=res.data.data
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user