Commit b9d278cb973422f4a9e6f901c9ae324d866c1456

Authored by liuqimichale
1 parent 22fb20b3

init

.idea/vcs.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="VcsDirectoryMappings">
  4 + <mapping directory="$PROJECT_DIR$" vcs="Git" />
  5 + </component>
  6 +</project>
0 \ No newline at end of file 7 \ No newline at end of file
package.json
@@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
10 "build": "node build/build.js" 10 "build": "node build/build.js"
11 }, 11 },
12 "dependencies": { 12 "dependencies": {
  13 + "ajv-keywords": "^3.2.0",
13 "axios": "^0.18.0", 14 "axios": "^0.18.0",
14 "babel-polyfill": "^6.26.0", 15 "babel-polyfill": "^6.26.0",
15 "echarts": "^4.1.0", 16 "echarts": "^4.1.0",
postcss.config.js 0 → 100644
  1 +module.exports = {
  2 + plugins: {
  3 + 'autoprefixer': {browsers: 'last 5 version'}
  4 + }
  5 +}
src/components/weather/index.vue
@@ -26,9 +26,9 @@ @@ -26,9 +26,9 @@
26 }, 26 },
27 computed: { 27 computed: {
28 //weather_news: this.$store.weather.weather_news 28 //weather_news: this.$store.weather.weather_news
29 - ...mapState({  
30 - weather_news:({weatherModule})=>weatherModule.weather_news  
31 - }) 29 + // ...mapState({
  30 + // weather_news:({weatherModule})=>weatherModule.weather_news
  31 + // })
32 }, 32 },
33 methods: { 33 methods: {
34 //请求天气 34 //请求天气