添加注解
This commit is contained in:
parent
0ce64810e4
commit
9f8f08082f
@ -6,7 +6,6 @@
|
||||
<keep-alive>
|
||||
<router-view class="main"/>
|
||||
</keep-alive>
|
||||
|
||||
<div @dblclick="handleShowVcnsole" class="baaa" style="width:20px;height:20px;"></div>
|
||||
</div>
|
||||
</template>
|
||||
@ -52,6 +51,7 @@ export default {
|
||||
this.dd = dd
|
||||
},
|
||||
methods: {
|
||||
// 在钉钉环境双击显示 vconsole
|
||||
handleShowVcnsole () {
|
||||
var vConsole = new VConsole({
|
||||
vConsole_switch_x: 0,
|
||||
|
||||
@ -5,6 +5,7 @@ let mixin = {
|
||||
return {}
|
||||
},
|
||||
computed: {
|
||||
// auth全局权限 在登录成功后获取
|
||||
...mapGetters(['auth'])
|
||||
},
|
||||
methods: {
|
||||
|
||||
@ -114,16 +114,17 @@ const opt = {
|
||||
background: 'rgba(255, 255, 255, 0.8)',
|
||||
spinner: 'el-icon-loading',
|
||||
text: '数据加载中'}
|
||||
// loading开启
|
||||
export function loading (options = opt) {
|
||||
this.$loading.service(options)
|
||||
}
|
||||
|
||||
// loading 关闭
|
||||
export function loadingClose () {
|
||||
setTimeout(() => {
|
||||
this.$loading.service(opt).close()
|
||||
}, 100)
|
||||
}
|
||||
|
||||
// 通过 url 获取参数
|
||||
export function getUrlParams () {
|
||||
var query = decodeURI(window.location.search.substring(1))
|
||||
console.log('query: ', query)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user