renrenio / renren-fast-vue Goto Github PK
View Code? Open in Web Editor NEWrenren-fast-vue基于vue、element-ui构建开发,实现renren-fast后台管理前端功能,提供一套更优的前端解决方案。
Home Page: http://fast.demo.renren.io
License: MIT License
renren-fast-vue基于vue、element-ui构建开发,实现renren-fast后台管理前端功能,提供一套更优的前端解决方案。
Home Page: http://fast.demo.renren.io
License: MIT License
tab切换页面为什么还要重新刷新呢?
我再嵌入一般图表的时候没有问题,但是嵌入地图的时候,不报错,也不显示,另外嵌入那种echarts的带时间轴的饼图的时候,也不显示,重新搭建项目,测试嵌入是正常的,不知道和现有项目的什么有冲突还是?
ERROR Failed to compile with 1 errors 6:36:09 PM
This relative module was not found:
应该是点击Tab 关闭窗口时,有缓存没有清空。
上次那个issue 好像关闭了, 问题还在,我更新了内容
增查查改删
现在只有修改,列表查看,没有对应的详情查看界面
希望能增加详情页面,和参数查询页面
报错信息:
Module build failed: ReferenceError: Unknown plugin "component" specified in "E:\work\EstateinfoSys_v2\append\pc_admin\.babelrc" at 1, attempted to resolve relative to "E:\work\EstateinfoSys_v2\append\pc_admin"
是什么原因引起的?
Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)
删掉模块,重新install还是这样
Echarts 常见图表组件的整合
git clone https://github.com/daxiongYang/renren-fast-vue.git
npm install
npm run dev
打开http://localhost:8001/后页面显示空白,只有Title显示标题。
源代码如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>人人快速开发平台</title>
<!-- 开发环境 -->
<link rel="shortcut icon" type="image/x-icon" href="./static/img/favicon.ico">
<script src="./static/config/index.js"></script>
<script src="./static/plugins/mock-1.0.0-beta3/mock-min.js"></script>
<script src="./static/plugins/echarts-3.8.5/echarts.common.min.js"></script>
<script src="./static/plugins/ueditor-1.4.3.3/ueditor.config.js"></script>
<script src="./static/plugins/ueditor-1.4.3.3/ueditor.all.min.js"></script>
<script src="./static/plugins/ueditor-1.4.3.3/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="/app.js"></script></body>
</html>
如
左树右表
左树是组织列表,可以按照名称搜索
右表是用户列表,用户的crud
启动成功后,左侧菜单栏乱码
用的是sys:user:save等,应该是sys:menu:save吧
是账号不能用了吗
npm run dev 之后报错:
ERROR Failed to compile with 1 errors 13:26:15
This relative module was not found:
./element-#17b3a3/index.css in ./src/element-ui-theme/index.js
在最新的这个commit 上面:
commit 4cbc577
OS: Ubuntu 14.04
node -v
v8.11.1
npm -v
5.6.0
在增加管理员的时候,填写所以表单后,点击提交,提示密码不能为空
https://github.com/chinesehxj/renren-fast-vue
这里边的组织管理,能合并过来吗?
npm ERR! path /usr/local/lib/node_modules/cnpm/node_modules/aws4
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/cnpm/node_modules/aws4'
npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib/node_modules/cnpm/node_modules/aws4'
npm ERR! stack: 'Error: EACCES: permission denied, access '/usr/local/lib/node_modules/cnpm/node_modules/aws4'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules/cnpm/node_modules/aws4' }
npm ERR!
deprecate [email protected] › gulp-util@^3.0.0 gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
deprecate [email protected] › [email protected] › graceful-fs@^3.0.0 please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
deprecate [email protected] › [email protected] › [email protected] › minimatch@^2.0.1 Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
deprecate [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › minimatch@~0.2.11 Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
deprecate [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › [email protected] › graceful-fs@~1.2.0 please upgrade to
你好,我按照你的方式const _import = require('./import-' + process.env.NODE_ENV) ,然后用route['component'] = _import(route.src) || null;去给路由添加component字段,可是一直都加载不成功。能指导下是否还需要其他配置呢
退出之后登录系统增加的动态路由没有清楚再加载页面的时候导致控制台出现重复路由的警告。
[vue-router] Duplicate named routes definition: { name: "sys-user", path: "/sys-user" }
你好,请问在部分页面,如何实现其他域名地址的api访问呢?按照说明设置了代理那个打开,并不行,target那个看不懂……
比如单独的编辑页面,router应该怎么写?
由于后台管理平台, 是针对一些文章编辑和新增,如果是弹框,造成弹框滚动很长,
不知道能否实现,点击新增和编辑按钮的时候,手动在mainTabs里面添加一个页面?
请问有封装好的方法, 可以直接用的吗, 下面是我看route里面的代码
// 路由操作
routeHandle (route) {
if (route.meta.isTab) {
// tab选中, 不存在先添加
var tab = this.mainTabs.filter(item => item.name === route.name)[0]
if (!tab) {
if (route.meta.isDynamic) {
route = this.dynamicMenuRoutes.filter(item => item.name === route.name)[0]
if (!route) {
return console.error('未能找到可用标签页!')
}
}
tab = {
menuId: route.meta.menuId || route.name,
name: route.name,
title: route.meta.title,
type: isURL(route.meta.iframeUrl) ? 'iframe' : 'module',
iframeUrl: route.meta.iframeUrl || ''
}
this.mainTabs = this.mainTabs.concat(tab)
}
this.menuActiveName = tab.menuId + ''
this.mainTabsActiveName = tab.name
}
}
}
我cnpm install后本地能跑,node_moudles也有包,但是很诡异的是有的文件夹带有快捷方式的图标,我把整node_moudules复制出去果然只要带有快捷方式的文件夹里面文件全部没有,这是怎么回事?我原先想在cnpm install一下然后把整个node_mouduls文件夹全部发送过去,这下快捷方式的文件夹里面是空的,我的项目里又有。。。。。求解答下。。。。
1、手机号码验证不正确,我手机号1345*,正则表达式给过滤掉了;
2、新增用户,密码有值但无法传递到后台,提示密码为空;
还有个别遇到了一时忘了
加密串想修改一下
执行 npm rebuild node-sass
老大, 这种怎么一次执行多个请求?请求路径一样,只是参数不同
this.$http({
url: this.$http.adornUrl('/xx/xx'),
method: 'get',
params: this.$http.adornParams({ 'xx':0, })
}).then(({data}) => { })
this.$http({
url: this.$http.adornUrl('/xx/xx'),
method: 'get',
params: this.$http.adornParams({ 'xx':1, })
}).then(({data}) => { })
运行时发现 node_modules里面很多包是空的文件夹 ,我这台机器居然能跑起来项目,我把项目连同node_modules一起发给人家,人家直接运行npm run dev 就报错找不到包 ,是为什么?
部署后element-ui-theme样式丢失。
错误截图
日志文件
2018-05-29T07_58_32_231Z-debug.log
{"t":1533201409287,"roleName":"test","remark":"test","menuIdList":[1,2,15,16,17,18,3,19,20,21,22,4,23,24,25,26,5,6,7,8,9,10,11,12,13,14,27,29,30,-666666]}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.