功能变化: npm run lint

pull/85/head
李强 2023-01-13 23:04:11 +08:00
parent 51a6c569a2
commit de1071c7b8
6 changed files with 9 additions and 10 deletions

View File

@ -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",

View File

@ -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,

View File

@ -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({

View File

@ -84,7 +84,7 @@ export default {
this.tabActivted = name
this.doRefresh()
},
//
//
doDialogClosed (context) {
this.doRefresh()
}

View File

@ -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
})
},

View File

@ -199,8 +199,8 @@ export default {
}
})
},
//
loadChildrenMethod({ row} ){
//
loadChildrenMethod ({ row }) {
return new Promise(resolve => {
setTimeout(() => {
const childs = [