修复ID赋值问题
This commit is contained in:
@@ -34,11 +34,11 @@
|
||||
<a>
|
||||
<i :class="[parent.icon ? parent.icon : 'fa fa-link']"></i>
|
||||
<span>{{ parent.name }}</span>
|
||||
<span class="label pull-right bg-yellow" id='`ic${parent.id}`'>
|
||||
<span class="label pull-right bg-yellow" :id="['ic' + parent.id]">
|
||||
{{ getChildLength(parent.id) }}
|
||||
</span>
|
||||
</a>
|
||||
<ul class="treeview-menu" id='`menu${parent.id}`'>
|
||||
<ul class="treeview-menu" :id="['menu' + parent.id]">
|
||||
<li v-for="(child, childIndex) in getChilds(parent.id)" :key="child" :data-index="childIndex">
|
||||
<a :data-url="child.path" @click="handleClick(child)">
|
||||
<i
|
||||
|
@@ -43,6 +43,7 @@
|
||||
|
||||
<script>
|
||||
import store from '@/store';
|
||||
import router from '@/router';
|
||||
|
||||
var sendFlag = true;
|
||||
export default {
|
||||
@@ -121,6 +122,7 @@ export default {
|
||||
//处理css样式污染问题,关闭当前窗口,重新渲染
|
||||
window.close();
|
||||
window.open('#/home', '_blank');
|
||||
//router.push("/home");
|
||||
});
|
||||
} else {
|
||||
if (data.msg == "4003" || data.msg == "404") {
|
||||
|
Reference in New Issue
Block a user