功能变化: npm run lint

pull/80/head
李强 2022-11-25 23:26:22 +08:00
parent 402edc78f6
commit f419f277b2
4 changed files with 6 additions and 8 deletions

View File

@ -13,7 +13,7 @@
},
"dependencies": {
"@great-dream/template": "^1.0.2",
"@vue/composition-api": "^1.0.4",
"@vue/composition-api": "1.0.4",
"axios": "^0.19.0",
"axios-mock-adapter": "^1.18.1",
"better-scroll": "^1.15.2",
@ -41,7 +41,7 @@
"screenfull": "^5.0.2",
"sortablejs": "^1.10.1",
"ua-parser-js": "^0.7.20",
"vue": "^2.7.10",
"vue": "2.7.14",
"vue-i18n": "^8.15.1",
"vue-infinite-scroll": "^2.0.2",
"vue-router": "^3.6.5",

View File

@ -16,7 +16,7 @@
</template>
<script>
import {mapActions} from 'vuex'
import { mapActions } from 'vuex'
export default {
name: 'msgList',
props: {
@ -32,7 +32,7 @@ export default {
toPage () {
// this.open({name:'messageCenter'})
this.$router.push({
name:'messageCenter'
name: 'messageCenter'
})
}
}

View File

@ -18,8 +18,8 @@ export default {
* @param {String} param type {String} 类型
* @param {Object} payload meta {Object} 附带的信息
*/
async setUnread ({ state,commit },number) {
commit('set',number)
async setUnread ({ state, commit }, number) {
commit('set', number)
}
},
mutations: {

View File

@ -52,5 +52,3 @@ export function DelObj (id) {
data: { id }
})
}