上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: vue-cli网址: https://cli.vuejs.org/zh/guide/installation.html 搭建vue项目出现 bash:vue: command not found 管理员运行cmd: 执行 cnpm install -g vue-cli vue create hell 阅读全文
posted @ 2022-03-18 16:31 影思密达ing 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 场景:打的包app.js有15M,首页需要加载的资源为近20MB, //获取时间戳 const Timestamp= new Date().getTime(); const path = require('path') const CompressionPlugin = require("compr 阅读全文
posted @ 2022-01-20 14:48 影思密达ing 阅读(330) 评论(0) 推荐(0) 编辑
摘要: list: [ { x: "张一", dataX: 13641 }, { x: "张一", dataX: 2000 }, { x: "张一", dataX: 3000 }, { x: "张一", dataX: 1 }, { x: "张一", dataX: 161 }, { x: "张一", data 阅读全文
posted @ 2021-12-13 15:16 影思密达ing 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: server/api/request /**axios封装 * 请求拦截、相应拦截、错误统一处理 */ import axios from 'axios' import QS from 'qs' // import store from "../../store/index"; import rou 阅读全文
posted @ 2021-11-24 11:35 影思密达ing 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 按钮级权限有两种方式,一种为v-if,一种为vue自定义指令,这里两种都有使用 [ "sys:user:add", "sys:user:update", "sys:user:use", "sys:system:add", "sys:system:update", "sys:system:use", 阅读全文
posted @ 2021-11-24 11:30 影思密达ing 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: 首先,把整个系统的路由表分为静态路由和动态路由, 静态路由为不需要权限就加载的路由组, 动态路由为权限关联路由 import addRoutes from './routers/add' import staticRoutes from './routers/static' export const 阅读全文
posted @ 2021-11-24 11:21 影思密达ing 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 功能分析:和后台的菜单,纯树级结构不一样 后台的api返回结构为 <el-tree ref="menuTree" :data="systemPrivilegeList" show-checkbox node-key="id" default-expand-all :check-strictly="t 阅读全文
posted @ 2021-11-24 11:01 影思密达ing 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 想要的效果是,A页面/screen-sit/home ,B页面/screen-sit/*** 都有个/screen-sit 1> router.js import Vue from 'vue' // import { // Message // } from 'element-ui' import 阅读全文
posted @ 2021-09-27 10:00 影思密达ing 阅读(952) 评论(0) 推荐(0) 编辑
摘要: <el-date-picker v-model="chartsTime" type="datetimerange" :clearable='clearableState' value-format="yyyy-MM-dd HH:mm:ss" range-separator="至" @change=" 阅读全文
posted @ 2021-08-26 11:10 影思密达ing 阅读(774) 评论(0) 推荐(0) 编辑
摘要: <div @click="ange">改变</div> <transition name="slide"> <!-- <button v-if="docState 'saved'" key="saved">Save</button> <button v-if="docState 'edited'" 阅读全文
posted @ 2021-08-04 22:04 影思密达ing 阅读(325) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页