Compare commits
2 Commits
9ff340e303
...
ad17736e30
Author | SHA1 | Date | |
---|---|---|---|
|
ad17736e30 | ||
|
c52a3bbcce |
@ -46,7 +46,7 @@
|
|||||||
<label><input type="radio" id="J_setSizePage" name="size" />自定义页面宽度</label>
|
<label><input type="radio" id="J_setSizePage" name="size" />自定义页面宽度</label>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<input id="J_setText" type="text" style="display:none;width:60px;" value="40%" onchange="SetText(this)"/>
|
<input id="J_setText" type="text" style="display:none;width:60px;" value="100%" onchange="SetText(this)"/>
|
||||||
</li>
|
</li>
|
||||||
<!--end-->
|
<!--end-->
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -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,6 +224,7 @@ export default {
|
|||||||
getCategoryList() {
|
getCategoryList() {
|
||||||
getLeavesCategoryList().then(response => {
|
getLeavesCategoryList().then(response => {
|
||||||
this.categoryList = response.data
|
this.categoryList = response.data
|
||||||
|
if (!!this.$route.query.categoryId){
|
||||||
let flag = false;
|
let flag = false;
|
||||||
this.categoryList.forEach(item => {
|
this.categoryList.forEach(item => {
|
||||||
if (item.id === this.$route.query.categoryId) {
|
if (item.id === this.$route.query.categoryId) {
|
||||||
@ -233,6 +235,7 @@ export default {
|
|||||||
this.form.categoryId = ""
|
this.form.categoryId = ""
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleChangeType() {
|
handleChangeType() {
|
||||||
|
Loading…
Reference in New Issue
Block a user