Compare commits

..

No commits in common. "ad17736e301cf79d78063aeb5f35ced21b937d9d" and "9ff340e303f2459452120c5db015a375048d1c62" have entirely different histories.

3 changed files with 11 additions and 14 deletions

View File

@ -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="100%" onchange="SetText(this)"/> <input id="J_setText" type="text" style="display:none;width:60px;" value="40%" onchange="SetText(this)"/>
</li> </li>
<!--end--> <!--end-->
</ul> </ul>

View File

@ -25548,7 +25548,7 @@ UE.plugins["audio"] = function () {
// } // }
// } // }
// }; // };
//修改表格属性 宽度设置 //修改表格属性 宽度设置
UE.commands["adaptbytext"] = UE.commands["adaptbytext"] =
UE.commands["adaptbywindow"] = { UE.commands["adaptbywindow"] = {

View File

@ -147,7 +147,6 @@ export default {
handler(val) { handler(val) {
if (val !== undefined) { if (val !== undefined) {
this.reset() this.reset()
this.getCategoryList()
this.getContentById(val) this.getContentById(val)
} }
}, },
@ -224,18 +223,16 @@ 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) { this.form.categoryId = this.$route.query.categoryId.toString()
this.form.categoryId = this.$route.query.categoryId.toString() flag = true;
flag = true; }
} if (!flag){
if (!flag){
this.form.categoryId = "" this.form.categoryId = ""
} }
}) })
}
}) })
}, },
handleChangeType() { handleChangeType() {