修复杂项
This commit is contained in:
parent
c52a3bbcce
commit
ad17736e30
@ -221,11 +221,8 @@
|
|||||||
},
|
},
|
||||||
setAutoSize: function () {
|
setAutoSize: function () {
|
||||||
var me = this;
|
var me = this;
|
||||||
// autoSizePage.checked = true;
|
autoSizePage.checked = true;
|
||||||
setSizePage.checked = true
|
me.autoSizePageHanler();
|
||||||
// me.autoSizePageHanler();
|
|
||||||
me.setSizePageHanler()
|
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -147,6 +147,7 @@ export default {
|
|||||||
handler(val) {
|
handler(val) {
|
||||||
if (val !== undefined) {
|
if (val !== undefined) {
|
||||||
this.reset()
|
this.reset()
|
||||||
|
this.getCategoryList()
|
||||||
this.getContentById(val)
|
this.getContentById(val)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -223,16 +224,18 @@ export default {
|
|||||||
getCategoryList() {
|
getCategoryList() {
|
||||||
getLeavesCategoryList().then(response => {
|
getLeavesCategoryList().then(response => {
|
||||||
this.categoryList = response.data
|
this.categoryList = response.data
|
||||||
let flag = false;
|
if (!!this.$route.query.categoryId){
|
||||||
this.categoryList.forEach(item => {
|
let flag = false;
|
||||||
if (item.id === this.$route.query.categoryId) {
|
this.categoryList.forEach(item => {
|
||||||
this.form.categoryId = this.$route.query.categoryId.toString()
|
if (item.id === this.$route.query.categoryId) {
|
||||||
flag = true;
|
this.form.categoryId = this.$route.query.categoryId.toString()
|
||||||
}
|
flag = true;
|
||||||
if (!flag){
|
}
|
||||||
|
if (!flag){
|
||||||
this.form.categoryId = ""
|
this.form.categoryId = ""
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleChangeType() {
|
handleChangeType() {
|
||||||
|
Loading…
Reference in New Issue
Block a user