Commit 0eceec81 authored by zhengke's avatar zhengke
parents 7ba1d15e 83c75331
...@@ -14,11 +14,14 @@ ...@@ -14,11 +14,14 @@
"build": "node build/build.js" "build": "node build/build.js"
}, },
"dependencies": { "dependencies": {
"@aspnet/signalr": "^1.1.4",
"element-ui": "^2.13.0", "element-ui": "^2.13.0",
"socket.io-client": "^2.2.0",
"three": "^0.111.0",
"vue": "^2.5.2", "vue": "^2.5.2",
"vue-router": "^3.0.1", "vue-router": "^3.0.1",
"vue-socket.io": "^3.0.4", "vue-socket.io": "^3.0.4",
"socket.io-client": "^2.2.0" "signalr": "^2.4.1"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^7.1.2", "autoprefixer": "^7.1.2",
...@@ -30,6 +33,7 @@ ...@@ -30,6 +33,7 @@
"babel-plugin-dynamic-import-node": "^1.2.0", "babel-plugin-dynamic-import-node": "^1.2.0",
"babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-remove-strict-mode": "0.0.2",
"babel-plugin-transform-runtime": "^6.22.0", "babel-plugin-transform-runtime": "^6.22.0",
"babel-plugin-transform-vue-jsx": "^3.5.0", "babel-plugin-transform-vue-jsx": "^3.5.0",
"babel-preset-env": "^1.3.2", "babel-preset-env": "^1.3.2",
......
...@@ -78,7 +78,6 @@ export default { ...@@ -78,7 +78,6 @@ export default {
} }
</script> </script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped> <style scoped>
@import "../assets/css/index.css"; @import "../assets/css/index.css";
</style> </style>
...@@ -103,6 +103,10 @@ export default { ...@@ -103,6 +103,10 @@ export default {
}, },
goPage: function (obj) { goPage: function (obj) {
this.MsgBus.$emit('inceptMessage', '666') this.MsgBus.$emit('inceptMessage', '666')
if (obj.Name === '签到') {
window.open('http://activity.oytour.com/html/SignIn/signin.html')
return
}
if (!obj.children.length && this.$route.name !== obj.Url) { if (!obj.children.length && this.$route.name !== obj.Url) {
this.$router.push({ this.$router.push({
name: obj.Url name: obj.Url
......
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