fix
This commit is contained in:
@@ -294,11 +294,12 @@ export default defineComponent({
|
||||
|
||||
//删除分组
|
||||
deleteGroup(record:any,index:number){
|
||||
console.log(record)
|
||||
let deleteGroupFun = (id:any,index:number) =>{
|
||||
let data = {
|
||||
userGroupId:id
|
||||
projectId:id
|
||||
}
|
||||
Https.axiosPost(Https.httpUrls.deleteUserGroup,data).then(
|
||||
Https.axiosPost(Https.httpUrls.projectDetail,{},{params:data}).then(
|
||||
(rv: any) => {
|
||||
message.success(this.t('HistoryPage.jsContent1'))
|
||||
this.collectionList.splice(index,1)
|
||||
@@ -306,8 +307,10 @@ export default defineComponent({
|
||||
// return
|
||||
// });
|
||||
if(record.id == this.store.state.HomeStoreModule.userGroupId){
|
||||
this.store.commit('deleteUserGroupId')
|
||||
// this.store.commit('deleteUserGroupId')
|
||||
this.store.commit("setLikeDesignCollectionList", []);
|
||||
this.store.commit('createProbject')
|
||||
|
||||
this.store.commit("clearAllData");
|
||||
this.store.commit("clearAllCollection");
|
||||
this.store.commit("setAllBoardDataChoose",{});
|
||||
@@ -340,6 +343,7 @@ export default defineComponent({
|
||||
if(record.original == 0){
|
||||
num = false
|
||||
}
|
||||
this.store.commit('createProbject')
|
||||
this.$router.push({name:'homePage',params: {id:record.id,type:'History'}})
|
||||
this.store.commit('setChooseIsDesign',num)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user