Commit 39e63d54 authored by 张伯涛's avatar 张伯涛

修改控制台的报错

parent 6619c92f
...@@ -6,25 +6,25 @@ ...@@ -6,25 +6,25 @@
class="hamburger-container" class="hamburger-container"
@toggleClick="toggleSideBar" @toggleClick="toggleSideBar"
/> />
<el-dropdown <!-- <el-dropdown-->
class="change-sys" <!-- class="change-sys"-->
@command="handleCommand" <!-- @command="handleCommand"-->
> <!-- >-->
<!-- <span class="el-dropdown-link">--> <!--&lt;!&ndash; <span class="el-dropdown-link">&ndash;&gt;-->
<!-- 业务中台<i class="el-icon-arrow-down el-icon&#45;&#45;right" />--> <!--&lt;!&ndash; 业务中台<i class="el-icon-arrow-down el-icon&#45;&#45;right" />&ndash;&gt;-->
<!-- </span>--> <!--&lt;!&ndash; </span>&ndash;&gt;-->
<el-dropdown-menu <!-- <el-dropdown-menu-->
slot="dropdown" <!-- slot="dropdown"-->
> <!-- >-->
<el-dropdown-item <!-- <el-dropdown-item-->
v-for="(item) in appList" <!-- v-for="(item) in appList"-->
:key="item.businessId" <!-- :key="item.businessId"-->
:command="specialTag !== '1' ? item.pcUrl : ''" <!-- :command="specialTag !== '1' ? item.pcUrl : ''"-->
> <!-- >-->
{{ item.system }} <!-- {{ item.system }}-->
</el-dropdown-item> <!-- </el-dropdown-item>-->
</el-dropdown-menu> <!-- </el-dropdown-menu>-->
</el-dropdown> <!-- </el-dropdown>-->
</div> </div>
<div class="right-menu"> <div class="right-menu">
<!-- <i class="el-icon-info" />--> <!-- <i class="el-icon-info" />-->
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
]) ])
}, },
mounted() { mounted() {
this.getInAdhibitions() // this.getInAdhibitions()
}, },
methods: { methods: {
handleCommand(param) { handleCommand(param) {
...@@ -89,11 +89,11 @@ export default { ...@@ -89,11 +89,11 @@ export default {
window.location.href = param window.location.href = param
} }
}, },
getInAdhibitions() { // getInAdhibitions() {
queryInAdhibitions({ businessId: 'zt' }).then(res => { // queryInAdhibitions({ businessId: 'zt' }).then(res => {
this.appList.splice(0, 0, ...res.data) // this.appList.splice(0, 0, ...res.data)
}) // })
}, // },
toggleSideBar() { toggleSideBar() {
this.$store.dispatch('app/toggleSideBar') this.$store.dispatch('app/toggleSideBar')
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment