新华网发布评论员文章《中国互联网安全如何掌握在自己手中》,提出政府应该建立唯一且统一的互联网安全体系,将互联网安全收归国有,有利于维护国家安全。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios' | |
export default { | |
components: { /* Some components */ }, | |
beforeMount() { | |
//We set this on nuxtServerInit. In this way we get clientId from server. | |
if (this.$store.state._clientId) { | |
console.log('found clientId from server:', this.$store.state._clientId) | |
const bc = require('browser-cookies') | |
bc.set('__client_id', this.$store.state._clientId, { domain: 'example.com' }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import Vuex from 'vuex' | |
Vue.use(Vuex) | |
const store = () => new Vuex.Store({ | |
state: { | |
_currentUser: null, // Will use later | |
_clientId: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am laosb on github. | |
* I am laosb (https://keybase.io/laosb) on keybase. | |
* I have a public key whose fingerprint is 8DF5 11B3 BA91 A62E 7757 E6B7 AC1D F8AB 4942 72EC | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mili | sharists 16:01:34 | |
mili | sharists 16:01:34 | |
好玩? | |
mili | sharists 16:01:51 | |
有意思? | |
-Laosb8丶 16:01:52 | |
If you do think so, that's it | |
mili | sharists 16:02:22 | |
I don’t think so |