摘要:
简介: 公共的状态管理模式 是一种最好的非父子组件传值的一种方案 是一个插件 安装: 1、cnpm install vuex -S vueX配置文件 import Vue from "vue"; import Vuex from "vuex"; Vue.use(Vuex);//使用插件 //vu 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style> .scroll{ width:auto; white-space: nowrap; overflow-y: hidden; overflow- 阅读全文