功能变化: npm run lint
parent
51a6c569a2
commit
de1071c7b8
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "django-vue-admin",
|
||||
"version": "2.0.7",
|
||||
"version": "2.0.8",
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve --open",
|
||||
"start": "npm run serve",
|
||||
|
|
|
@ -216,7 +216,7 @@ const refreshTken = function () {
|
|||
* @param method
|
||||
* @param filename
|
||||
*/
|
||||
export const downloadFile = function ({ url, params, method, filename= '文件导出' }) {
|
||||
export const downloadFile = function ({ url, params, method, filename = '文件导出' }) {
|
||||
request({
|
||||
url: url,
|
||||
method: method,
|
||||
|
|
|
@ -29,7 +29,7 @@ function webSocketOnError (e) {
|
|||
*/
|
||||
function webSocketOnMessage (e) {
|
||||
const data = JSON.parse(e.data)
|
||||
const {unread} = data
|
||||
const { unread } = data
|
||||
store.dispatch('d2admin/messagecenter/setUnread', unread || 0)
|
||||
if (data.contentType === 'SYSTEM') {
|
||||
ElementUI.Notification({
|
||||
|
|
|
@ -84,7 +84,7 @@ export default {
|
|||
this.tabActivted = name
|
||||
this.doRefresh()
|
||||
},
|
||||
//关闭事件
|
||||
// 关闭事件
|
||||
doDialogClosed (context) {
|
||||
this.doRefresh()
|
||||
}
|
||||
|
|
|
@ -119,7 +119,6 @@
|
|||
|
||||
<script>
|
||||
import * as api from './api'
|
||||
import * as deptApi from '../dept/api'
|
||||
import XEUtils from 'xe-utils'
|
||||
|
||||
export default {
|
||||
|
@ -239,9 +238,9 @@ export default {
|
|||
})
|
||||
})
|
||||
},
|
||||
//获取权限范围
|
||||
GetDataScope(){
|
||||
api.GetDataScope().then(res=>{
|
||||
// 获取权限范围
|
||||
GetDataScope () {
|
||||
api.GetDataScope().then(res => {
|
||||
this.dataScopeOptions = res.data
|
||||
})
|
||||
},
|
||||
|
|
|
@ -199,8 +199,8 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
//部门懒加载
|
||||
loadChildrenMethod({ row} ){
|
||||
// 部门懒加载
|
||||
loadChildrenMethod ({ row }) {
|
||||
return new Promise(resolve => {
|
||||
setTimeout(() => {
|
||||
const childs = [
|
||||
|
|
Loading…
Reference in New Issue