Commit 937200c2 by yanju

Merge branch 'server-side-auth' into 'master'

修改为cookie+服务端设置store/auth,粗略完成用户账号密码登录功能

See merge request pigbigbig/beyond-clouds-front!18
parents 87f86efd 5f894c88
...@@ -223,6 +223,6 @@ export default { ...@@ -223,6 +223,6 @@ export default {
}, },
KEY_LOCALSTORAGE_TOKEN:'BC_token', KEY_COOKIE_TOKEN:'BC_token',
} }
} }
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<yun-input @click.native="$router.push('/search')" iconName="search" width='212px' placeholder="请输入关键词" v-model="searchValue"></yun-input> <yun-input @click.native="$router.push('/search')" iconName="search" width='212px' placeholder="请输入关键词" v-model="searchValue"></yun-input>
</div> </div>
<div class="header-center-r" v-if="!this.$store.state.user.user_id"> <div class="header-center-r" v-if="!this.$store.state.userProfile.userId">
<div></div> <div></div>
<p class="login-word"> <p class="login-word">
<span> <span>
...@@ -61,12 +61,12 @@ ...@@ -61,12 +61,12 @@
</p> </p>
</div> </div>
<div class="header-center-r" v-if="this.$store.state.user.user_id"> <div class="header-center-r" v-if="this.$store.state.userProfile.userId">
<yun-icon name="add" color="#ccc" hoverColor="#8CD88C" <yun-icon name="add" color="#ccc" hoverColor="#8CD88C"
@mouseover.native="changeStateShowBox(1)" @mouseleave.native="changeStateHideBox(1)"></yun-icon> @mouseover.native="changeStateShowBox(1)" @mouseleave.native="changeStateHideBox(1)"></yun-icon>
<yun-icon name="notification" color="#ccc" hoverColor="#F8A06F" <yun-icon name="notification" color="#ccc" hoverColor="#F8A06F"
@mouseover.native="changeStateShowBox(3)" @mouseleave.native="changeStateHideBox(3)"></yun-icon> @mouseover.native="changeStateShowBox(3)" @mouseleave.native="changeStateHideBox(3)"></yun-icon>
<img class="user-photo" @mouseleave="changeStateHideBox(2)" :src="this.$store.state.user.user_avatar" alt="" @mouseover="changeStateShowBox(2)" /> <img class="user-photo" @mouseleave="changeStateHideBox(2)" :src="this.$store.state.userProfile.avatar" alt="" @mouseover="changeStateShowBox(2)" />
<transition name="fade"> <transition name="fade">
<ul class="abs-box abs-box1" v-if="showHideBox1" @mouseover="changeStateShowBox(1)" @mouseleave="changeStateHideBox(1)"> <ul class="abs-box abs-box1" v-if="showHideBox1" @mouseover="changeStateShowBox(1)" @mouseleave="changeStateHideBox(1)">
<li> <li>
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
<li> <li>
<nuxt-link tag="span" to="/personal-center/account">账号资料</nuxt-link> <nuxt-link tag="span" to="/personal-center/account">账号资料</nuxt-link>
</li> </li>
<li>安全退出</li> <li @click="handleLogout">安全退出</li>
</ul> </ul>
</transition> </transition>
<transition name="fade"> <transition name="fade">
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
import AlertsCard from './alertsMessage/alertsCard'; import AlertsCard from './alertsMessage/alertsCard';
import config from '../../action/config'; import config from '../../action/config';
const Cookie = process.client ? require('js-cookie') : null
export default { export default {
name:'container-header', name:'container-header',
...@@ -159,14 +160,6 @@ ...@@ -159,14 +160,6 @@
this.progressShow = false; this.progressShow = false;
},900) },900)
}, },
mounted(){
const token = localStorage.getItem(config.default_data.KEY_LOCALSTORAGE_TOKEN);
if (token) {
this.$store.commit('auth/auth', `${token}`)
}
this.getUserInfo();
},
watch:{ watch:{
$route(route){ $route(route){
this.route = route.name; this.route = route.name;
...@@ -179,6 +172,17 @@ ...@@ -179,6 +172,17 @@
}, },
methods:{ methods:{
handleLogout() {
// 删除cookie
Cookie.remove(config.default_data.KEY_COOKIE_TOKEN)
// 移除登录信息
this.$store.commit('auth/logout')
// 移除用户信息
this.$store.commit('userProfile/removeUser')
},
changeStateHideBox(...arg){ changeStateHideBox(...arg){
if(arg.indexOf(1)===0){ if(arg.indexOf(1)===0){
clearTimeout(this.hideBox1Time); clearTimeout(this.hideBox1Time);
...@@ -228,13 +232,12 @@ ...@@ -228,13 +232,12 @@
}, },
getUserInfo(){ getUserInfo(){
this.$axios.$get(config.api.get.User.myInfo).then((data)=>{ this.$axios.$get(config.api.get.User.myInfo).then((response)=>{
if(data.code===0){ if(data.code === 0){
this.$store.commit('user/storeUserName', `${data.data.nickName}`) this.$store.commit('userProfile/setUser', `${response.data}`)
this.$store.commit('user/storeUserAvatar', `${data.data.userAvatar}`)
this.$store.commit('user/storeGender', `${data.data.gender}`)
}else{ }else{
this.$store.commit('auth/remove') this.$store.commit('auth/logout')
this.$store.commit('userProfile/removeUser')
} }
}) })
} }
......
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
"dependencies": { "dependencies": {
"@nuxtjs/axios": "^5.9.5", "@nuxtjs/axios": "^5.9.5",
"axios": "^0.19.0", "axios": "^0.19.0",
"cookieparser": "^0.1.0",
"cross-env": "^5.2.0", "cross-env": "^5.2.0",
"js-cookie": "^2.2.1",
"koa": "^2.6.2", "koa": "^2.6.2",
"mavon-editor": "^2.7.7", "mavon-editor": "^2.7.7",
"nuxt": "^2.0.0", "nuxt": "^2.0.0",
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
}, },
mounted(){ mounted(){
// message 使用方法 // message 使用方法
this.dataPostFunctionName(); // this.dataPostFunctionName();
// this.$message({ // this.$message({
// message:'hellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohello', // message:'hellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohello',
// type:'info' // type:'info'
......
...@@ -22,7 +22,9 @@ ...@@ -22,7 +22,9 @@
</template> </template>
<script> <script>
const Cookie = process.client ? require('js-cookie') : null
import LoginCard from '../../components/pc/loginCard'; import LoginCard from '../../components/pc/loginCard';
import config from "../../action/config";
export default { export default {
name: "index", name: "index",
layout: 'blank', layout: 'blank',
...@@ -30,12 +32,51 @@ export default { ...@@ -30,12 +32,51 @@ export default {
LoginCard LoginCard
}, },
methods:{ methods:{
handleLogin(way, account, password, phone, verification) { async handleLogin(way, account, password, phone, verification) {
console.log(way); console.log(way);
console.log(account); console.log(account);
console.log(password); console.log(password);
console.log(phone); console.log(phone);
console.log(verification); console.log(verification);
const authResponse = await this.$axios.$post(config.api.post.Authentication.accountAuth, {
mobile: account,
password: password
});
// 认证成功
if (authResponse.code === 0) {
const token = authResponse.data.accessToken
const store = this.$store
// 设置认证信息
store.commit('auth/login', token)
// 获取用户信息
const userInfoResponse = await this.$axios.$get(config.api.get.User.myInfo)
if (userInfoResponse.code === 0) {
// 存储用户信息
store.commit('userProfile/setUser', userInfoResponse.data)
// 若登录和获取用户信息都成功,则存储认证信息到cookie
Cookie.set(config.default_data.KEY_COOKIE_TOKEN, token)
// 跳转到主页
this.$message({
type: 'success',
message: '登录成功!'
})
this.$router.push('/')
} else {
store.commit('auth/logout')
store.commit('userProfile/removeUser')
}
} else {
// 认证失败
this.$message({
type: 'error',
message: authResponse.msg
})
}
}, },
// 跳转注册页面 // 跳转注册页面
handleRegister(){ handleRegister(){
......
import config from '../action/config.js'
export const state = () => ({ export const state = () => ({
authenticated: false, authenticated: false,
token: null token: null
}) })
export const mutations = { export const mutations = {
auth (state, token) { login (state, token) {
state.token = token state.token = token
state.authenticated = true state.authenticated = true
localStorage.setItem(config.default_data.KEY_LOCALSTORAGE_TOKEN, token)
}, },
remove (state) { logout (state) {
state.token = null state.token = null
state.authenticated = false state.authenticated = false
localStorage.removeItem(config.default_data.KEY_LOCALSTORAGE_TOKEN)
} }
} }
import config from '../action/config.js'
const cookieParser = require('cookieparser')
export const actions = {
async nuxtServerInit ({ commit }, { req, $axios }) {
if (req && req.headers && req.headers.cookie) {
const cookies = cookieParser.parse(req.headers.cookie)
const token = cookies[config.default_data.KEY_COOKIE_TOKEN]
if (token) {
commit('auth/login', token)
const response = await $axios.$get(config.api.get.User.myInfo)
if (response.code === 0) {
commit('userProfile/setUser', response.data)
}
}
}
}
}
export const state = () => ({
user_id:'111',
user_name:'',
user_avatar:'',
gender:''
})
export const mutations = {
storeUserId (state, userId) {
state.user_id = userId
},
storeUserName (state, userName) {
state.user_name = userName
},
storeUserAvatar (state, userAvatar) {
state.user_avatar = userAvatar
},
storeGender (state, gender) {
state.gender = gender
},
}
const defaultUser = {
userId: null,
nickName: null,
avatar: null
}
export const state = () => defaultUser
export const mutations = {
setUser (state, user) {
Object.assign(state, {
userId: user.userId,
avatar: user.userAvatar,
nickName: user.nickName
})
},
removeUser (state) {
Object.assign(state, defaultUser)
}
}
...@@ -1113,6 +1113,25 @@ ...@@ -1113,6 +1113,25 @@
webpack-node-externals "^1.7.2" webpack-node-externals "^1.7.2"
webpackbar "^4.0.0" webpackbar "^4.0.0"
"@nuxtjs/axios@^5.9.5":
version "5.9.5"
resolved "https://registry.npm.taobao.org/@nuxtjs/axios/download/@nuxtjs/axios-5.9.5.tgz#5adc0acc4deb7e1d67ab7240c741a401a6c01823"
integrity sha1-WtwKzE3rfh1nq3JAx0GkAabAGCM=
dependencies:
"@nuxtjs/proxy" "^1.3.3"
axios "^0.19.2"
axios-retry "^3.1.2"
consola "^2.11.3"
defu "^1.0.0"
"@nuxtjs/proxy@^1.3.3":
version "1.3.3"
resolved "https://registry.npm.taobao.org/@nuxtjs/proxy/download/@nuxtjs/proxy-1.3.3.tgz#3de3d9f073e8e57167168100940be2a824a220e0"
integrity sha1-PePZ8HPo5XFnFoEAlAviqCSiIOA=
dependencies:
consola "^2.5.6"
http-proxy-middleware "^0.19.1"
"@nuxtjs/youch@^4.2.3": "@nuxtjs/youch@^4.2.3":
version "4.2.3" version "4.2.3"
resolved "https://registry.npm.taobao.org/@nuxtjs/youch/download/@nuxtjs/youch-4.2.3.tgz#36f8b22df5a0efaa81373109851e1d857aca6bed" resolved "https://registry.npm.taobao.org/@nuxtjs/youch/download/@nuxtjs/youch-4.2.3.tgz#36f8b22df5a0efaa81373109851e1d857aca6bed"
...@@ -1778,6 +1797,13 @@ aws4@^1.8.0: ...@@ -1778,6 +1797,13 @@ aws4@^1.8.0:
resolved "https://registry.npm.taobao.org/aws4/download/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" resolved "https://registry.npm.taobao.org/aws4/download/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
integrity sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8= integrity sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8=
axios-retry@^3.1.2:
version "3.1.2"
resolved "https://registry.npm.taobao.org/axios-retry/download/axios-retry-3.1.2.tgz#4f4dcbefb0b434e22b72bd5e28a027d77b8a3458"
integrity sha1-T03L77C0NOIrcr1eKKAn13uKNFg=
dependencies:
is-retry-allowed "^1.1.0"
axios@^0.19.0: axios@^0.19.0:
version "0.19.1" version "0.19.1"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.1.tgz#8a6a04eed23dfe72747e1dd43c604b8f1677b5aa" resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.1.tgz#8a6a04eed23dfe72747e1dd43c604b8f1677b5aa"
...@@ -1785,6 +1811,13 @@ axios@^0.19.0: ...@@ -1785,6 +1811,13 @@ axios@^0.19.0:
dependencies: dependencies:
follow-redirects "1.5.10" follow-redirects "1.5.10"
axios@^0.19.2:
version "0.19.2"
resolved "https://registry.npm.taobao.org/axios/download/axios-0.19.2.tgz?cache=0&sync_timestamp=1579667462513&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faxios%2Fdownload%2Faxios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27"
integrity sha1-PqNsXYgY0NX4qKl6bTa4bNwAyyc=
dependencies:
follow-redirects "1.5.10"
babel-code-frame@^6.26.0: babel-code-frame@^6.26.0:
version "6.26.0" version "6.26.0"
resolved "https://registry.npm.taobao.org/babel-code-frame/download/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" resolved "https://registry.npm.taobao.org/babel-code-frame/download/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
...@@ -2669,6 +2702,11 @@ consola@^2.10.0, consola@^2.10.1, consola@^2.6.0, consola@^2.9.0: ...@@ -2669,6 +2702,11 @@ consola@^2.10.0, consola@^2.10.1, consola@^2.6.0, consola@^2.9.0:
resolved "https://registry.npm.taobao.org/consola/download/consola-2.11.0.tgz#9bb35d850d8cecde894ce2eb4d792fa6b90d9013" resolved "https://registry.npm.taobao.org/consola/download/consola-2.11.0.tgz#9bb35d850d8cecde894ce2eb4d792fa6b90d9013"
integrity sha1-m7NdhQ2M7N6JTOLrTXkvprkNkBM= integrity sha1-m7NdhQ2M7N6JTOLrTXkvprkNkBM=
consola@^2.11.3, consola@^2.5.6:
version "2.11.3"
resolved "https://registry.npm.taobao.org/consola/download/consola-2.11.3.tgz#f7315836224c143ac5094b47fd4c816c2cd1560e"
integrity sha1-9zFYNiJMFDrFCUtH/UyBbCzRVg4=
console-browserify@^1.1.0: console-browserify@^1.1.0:
version "1.2.0" version "1.2.0"
resolved "https://registry.npm.taobao.org/console-browserify/download/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" resolved "https://registry.npm.taobao.org/console-browserify/download/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336"
...@@ -2725,6 +2763,11 @@ cookie@^0.3.1: ...@@ -2725,6 +2763,11 @@ cookie@^0.3.1:
resolved "https://registry.npm.taobao.org/cookie/download/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" resolved "https://registry.npm.taobao.org/cookie/download/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
integrity sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s= integrity sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=
cookieparser@^0.1.0:
version "0.1.0"
resolved "https://registry.npm.taobao.org/cookieparser/download/cookieparser-0.1.0.tgz#ea12cb1085c174f3167faeaf7985f79abe671d0e"
integrity sha1-6hLLEIXBdPMWf66veYX3mr5nHQ4=
cookies@~0.8.0: cookies@~0.8.0:
version "0.8.0" version "0.8.0"
resolved "https://registry.npm.taobao.org/cookies/download/cookies-0.8.0.tgz?cache=0&sync_timestamp=1570851324736&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcookies%2Fdownload%2Fcookies-0.8.0.tgz#1293ce4b391740a8406e3c9870e828c4b54f3f90" resolved "https://registry.npm.taobao.org/cookies/download/cookies-0.8.0.tgz?cache=0&sync_timestamp=1570851324736&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcookies%2Fdownload%2Fcookies-0.8.0.tgz#1293ce4b391740a8406e3c9870e828c4b54f3f90"
...@@ -3147,7 +3190,7 @@ debug@=3.1.0, debug@~3.1.0: ...@@ -3147,7 +3190,7 @@ debug@=3.1.0, debug@~3.1.0:
dependencies: dependencies:
ms "2.0.0" ms "2.0.0"
debug@^3.2.6: debug@^3.0.0, debug@^3.2.6:
version "3.2.6" version "3.2.6"
resolved "https://registry.npm.taobao.org/debug/download/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" resolved "https://registry.npm.taobao.org/debug/download/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
integrity sha1-6D0X3hbYp++3cX7b5fsQE17uYps= integrity sha1-6D0X3hbYp++3cX7b5fsQE17uYps=
...@@ -3225,6 +3268,11 @@ defu@^0.0.1: ...@@ -3225,6 +3268,11 @@ defu@^0.0.1:
resolved "https://registry.npm.taobao.org/defu/download/defu-0.0.1.tgz#74dc4d64e401d7f95c6755fe98bc5cd688833a8f" resolved "https://registry.npm.taobao.org/defu/download/defu-0.0.1.tgz#74dc4d64e401d7f95c6755fe98bc5cd688833a8f"
integrity sha1-dNxNZOQB1/lcZ1X+mLxc1oiDOo8= integrity sha1-dNxNZOQB1/lcZ1X+mLxc1oiDOo8=
defu@^1.0.0:
version "1.0.0"
resolved "https://registry.npm.taobao.org/defu/download/defu-1.0.0.tgz#43acb09dfcf81866fa3b0fc047ece18e5c30df71"
integrity sha1-Q6ywnfz4GGb6Ow/AR+zhjlww33E=
delayed-stream@~1.0.0: delayed-stream@~1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.npm.taobao.org/delayed-stream/download/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" resolved "https://registry.npm.taobao.org/delayed-stream/download/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
...@@ -3586,6 +3634,11 @@ etag@^1.8.1, etag@~1.8.1: ...@@ -3586,6 +3634,11 @@ etag@^1.8.1, etag@~1.8.1:
resolved "https://registry.npm.taobao.org/etag/download/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" resolved "https://registry.npm.taobao.org/etag/download/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
eventemitter3@^4.0.0:
version "4.0.0"
resolved "https://registry.npm.taobao.org/eventemitter3/download/eventemitter3-4.0.0.tgz#d65176163887ee59f386d64c82610b696a4a74eb"
integrity sha1-1lF2FjiH7lnzhtZMgmELaWpKdOs=
events@^3.0.0: events@^3.0.0:
version "3.0.0" version "3.0.0"
resolved "https://registry.npm.taobao.org/events/download/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88" resolved "https://registry.npm.taobao.org/events/download/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88"
...@@ -3917,6 +3970,13 @@ follow-redirects@1.5.10: ...@@ -3917,6 +3970,13 @@ follow-redirects@1.5.10:
dependencies: dependencies:
debug "=3.1.0" debug "=3.1.0"
follow-redirects@^1.0.0:
version "1.10.0"
resolved "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.10.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.10.0.tgz#01f5263aee921c6a54fb91667f08f4155ce169eb"
integrity sha1-AfUmOu6SHGpU+5Fmfwj0FVzhaes=
dependencies:
debug "^3.0.0"
for-in@^1.0.2: for-in@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.npm.taobao.org/for-in/download/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" resolved "https://registry.npm.taobao.org/for-in/download/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
...@@ -4481,6 +4541,25 @@ http-errors@^1.6.3, http-errors@~1.7.2: ...@@ -4481,6 +4541,25 @@ http-errors@^1.6.3, http-errors@~1.7.2:
statuses ">= 1.5.0 < 2" statuses ">= 1.5.0 < 2"
toidentifier "1.0.0" toidentifier "1.0.0"
http-proxy-middleware@^0.19.1:
version "0.19.1"
resolved "https://registry.npm.taobao.org/http-proxy-middleware/download/http-proxy-middleware-0.19.1.tgz#183c7dc4aa1479150306498c210cdaf96080a43a"
integrity sha1-GDx9xKoUeRUDBkmMIQza+WCApDo=
dependencies:
http-proxy "^1.17.0"
is-glob "^4.0.0"
lodash "^4.17.11"
micromatch "^3.1.10"
http-proxy@^1.17.0:
version "1.18.0"
resolved "https://registry.npm.taobao.org/http-proxy/download/http-proxy-1.18.0.tgz#dbe55f63e75a347db7f3d99974f2692a314a6a3a"
integrity sha1-2+VfY+daNH2389mZdPJpKjFKajo=
dependencies:
eventemitter3 "^4.0.0"
follow-redirects "^1.0.0"
requires-port "^1.0.0"
http-signature@~1.2.0: http-signature@~1.2.0:
version "1.2.0" version "1.2.0"
resolved "https://registry.npm.taobao.org/http-signature/download/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" resolved "https://registry.npm.taobao.org/http-signature/download/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
...@@ -4915,9 +4994,9 @@ is-resolvable@^1.0.0: ...@@ -4915,9 +4994,9 @@ is-resolvable@^1.0.0:
resolved "https://registry.npm.taobao.org/is-resolvable/download/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" resolved "https://registry.npm.taobao.org/is-resolvable/download/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88"
integrity sha1-+xj4fOH+uSUWnJpAfBkxijIG7Yg= integrity sha1-+xj4fOH+uSUWnJpAfBkxijIG7Yg=
is-retry-allowed@^1.0.0: is-retry-allowed@^1.0.0, is-retry-allowed@^1.1.0:
version "1.2.0" version "1.2.0"
resolved "https://registry.npm.taobao.org/is-retry-allowed/download/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" resolved "https://registry.npm.taobao.org/is-retry-allowed/download/is-retry-allowed-1.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-retry-allowed%2Fdownload%2Fis-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4"
integrity sha1-13hIi9CkZmo76KFIK58rqv7eqLQ= integrity sha1-13hIi9CkZmo76KFIK58rqv7eqLQ=
is-stream@^1.0.0, is-stream@^1.1.0: is-stream@^1.0.0, is-stream@^1.1.0:
...@@ -5395,6 +5474,11 @@ js-base64@^2.1.8: ...@@ -5395,6 +5474,11 @@ js-base64@^2.1.8:
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.5.1.tgz#1efa39ef2c5f7980bb1784ade4a8af2de3291121" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.5.1.tgz#1efa39ef2c5f7980bb1784ade4a8af2de3291121"
integrity sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw== integrity sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw==
js-cookie@^2.2.1:
version "2.2.1"
resolved "https://registry.npm.taobao.org/js-cookie/download/js-cookie-2.2.1.tgz#69e106dc5d5806894562902aa5baec3744e9b2b8"
integrity sha1-aeEG3F1YBolFYpAqpbrsN0Tpsrg=
js-levenshtein@^1.1.3: js-levenshtein@^1.1.3:
version "1.1.6" version "1.1.6"
resolved "https://registry.npm.taobao.org/js-levenshtein/download/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" resolved "https://registry.npm.taobao.org/js-levenshtein/download/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
...@@ -5767,9 +5851,9 @@ lodash.uniq@^4.5.0: ...@@ -5767,9 +5851,9 @@ lodash.uniq@^4.5.0:
resolved "https://registry.npm.taobao.org/lodash.uniq/download/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" resolved "https://registry.npm.taobao.org/lodash.uniq/download/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
lodash@^4.0.0, lodash@^4.15.0, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@~4.17.10: lodash@^4.0.0, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@~4.17.10:
version "4.17.15" version "4.17.15"
resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.15.tgz?cache=0&sync_timestamp=1569522001300&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash%2Fdownload%2Flodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg= integrity sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg=
loose-envify@^1.0.0: loose-envify@^1.0.0:
...@@ -8088,6 +8172,11 @@ require-main-filename@^2.0.0: ...@@ -8088,6 +8172,11 @@ require-main-filename@^2.0.0:
resolved "https://registry.npm.taobao.org/require-main-filename/download/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" resolved "https://registry.npm.taobao.org/require-main-filename/download/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
integrity sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs= integrity sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs=
requires-port@^1.0.0:
version "1.0.0"
resolved "https://registry.npm.taobao.org/requires-port/download/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
resolve-cwd@^2.0.0: resolve-cwd@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.npm.taobao.org/resolve-cwd/download/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" resolved "https://registry.npm.taobao.org/resolve-cwd/download/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment