新功能: 加入消息中心

pull/68/head
猿小天 2022-08-14 19:34:25 +08:00
parent 888a3b73e8
commit ef2025f157
4 changed files with 5 additions and 7 deletions

View File

@ -65,5 +65,5 @@ function webSocketSend (message) {
this.socket.send(JSON.stringify(message))
}
export default {
initWebSocket, close,webSocketSend
initWebSocket, close, webSocketSend
}

View File

@ -217,7 +217,7 @@ export default {
gotoRoute (route) {
this.$router.push(route)
}
},
}
}
</script>

View File

@ -22,8 +22,6 @@ export function GetSelfReceive (query) {
})
}
export function GetObj (obj) {
return request({
url: urlPrefix + obj.id + '/',

View File

@ -26,7 +26,7 @@
</template>
<script>
import { AddObj, GetObj, GetList, UpdateObj, DelObj,GetSelfReceive } from './api'
import { AddObj, GetObj, GetList, UpdateObj, DelObj, GetSelfReceive } from './api'
import { crudOptions } from './crud'
import { d2CrudPlus } from 'd2-crud-plus'
export default {
@ -35,7 +35,7 @@ export default {
mixins: [d2CrudPlus.crud],
data () {
return {
tabActivted:"send"
tabActivted: 'send'
}
},
created () {
@ -86,7 +86,7 @@ export default {
handleFormComponentReady (event, key, form) {
// console.log('form component ready:', event, key, form)
},
onTabClick(obj){
onTabClick (obj) {
this.doRefresh()
}
}