|
@@ -261,7 +261,7 @@ export default {
|
|
|
},
|
|
|
//修改分类
|
|
|
changeClass(data){
|
|
|
- if(data.categoryId=='000'){
|
|
|
+ if(data.categoryId=='999'){
|
|
|
this.categoryId = ''
|
|
|
}else{
|
|
|
this.categoryId = data.categoryId
|
|
@@ -276,9 +276,11 @@ export default {
|
|
|
},
|
|
|
// 跳转添加
|
|
|
addData(){
|
|
|
- if(this.categoryValue.join(',')=='000'){
|
|
|
+
|
|
|
+ if(this.categoryValue.join(',')=='999'){
|
|
|
this.categoryValue=[]
|
|
|
}
|
|
|
+ console.log(this.categoryValue)
|
|
|
this.$router.push({
|
|
|
name: "knowledgeAddUpdate",
|
|
|
query: {
|
|
@@ -560,7 +562,7 @@ export default {
|
|
|
operatorName: null,
|
|
|
parent: "0",
|
|
|
parents: null,
|
|
|
- pkId: "000",
|
|
|
+ pkId: "999",
|
|
|
sort: 2,
|
|
|
updateBy: "1",
|
|
|
updateTime: "2022-12-27 17:00:30",
|