xnal / don-blog-backmanage Goto Github PK
View Code? Open in Web Editor NEWDon's blog的后台管理系统,基于Vue.js + Node.js + Koa.js + MySQL + Redis + WebSocket。
Home Page: http://www.tdon.site
License: MIT License
Don's blog的后台管理系统,基于Vue.js + Node.js + Koa.js + MySQL + Redis + WebSocket。
Home Page: http://www.tdon.site
License: MIT License
Don's Blog 后台管理系统 登陆账户密码?
你好,能不能看一下mysql的设计方案借鉴一下
src/components/Message/index.js
,currentMsg 是一个vue实例,最后销毁的时候只是调用了this.$destroy();
,并没有让currentMsg = null
。
showMessage (options) {
if (!currentMsg) {
initInstance();
}
};
在第二次调用$message时,并不会重新进行实例化,创建一个新的Message添加到body中,因为这里只是销毁了vue的实例,currentMsg 这个对象任然存在。
想知道这个博客的后台管理系统都有些什么功能?
ctx.execSql是您封装的操作的sql中间件,我在执行插入语句时,想要同时插入两条,执行不成功。
插入一条的数据是没有问题的,如下:
let res = await ctx.execSql(`insert into tag set name=?`,'第一个数据'); //成功插入
此时我有一个数组,包含两条数据,想要执行一次同时插入两条
let data=['第一条数据','第二条数据']
let res = await ctx.execSql(`insert into tag set name=?`,[data]); //执行失败(注意这里的数组data外层又包裹了一个[],还是行不通)
请问这个问题出在哪里呢,如何批量插入。以上我的做法也是结合了网上有些资料,但是未能成功。
[HPM] Error occurred while trying to proxy request /backapi/admin/login from localhost:8080 to http://localhost:9000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
运行了一会就报错
[ioredis] Unhandled error event: Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:205:27)
能否给测试数据
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.