- 个人小程序审核1个月都没审核玩,企业小程序2个小时就审核完了
个人小程序审核1个月都没审核玩,企业小程序2个小时就审核完了。 这是为什么?
2017-12-01 - 地图组件markers的iconPath远程图片
地图组件markers的iconPath什么时候支持远程图片呀?
2017-11-24 - "6001:主机未找到或者不在您账户下
{"code":-1,"reason":"6001:主机未找到或者不在您账户下"} 怎么解决呀?
2017-11-21 - 微信小程序对es6的Promise吗?
微信小程序对es6的Promise吗?
2017-11-16 - 最新版开发者工具,无法获取授权
最新版开发者工具,无法获取授权 最新版开发者工具,无法获取授权
2017-10-20 - 开发者工具bug
开发者工具老是自动添加空格,代码报错,事件无法执行 bindtouchstart="onTouchStart " bindtouchmove="onTouchMove " bindtouchend="onTouchEnd "
2017-10-11 - 点击查看图片再次点击,会退到出小程序
调用wx.previewImage(OBJECT)查看图片再次点击,会退到出小程序
2017-10-10 - 小程序腾讯云无法使用
Unhandled rejection Error: ER_NO_SUCH_TABLE: Table 'cAuth.cAuth' doesn't exist at Query.Sequence._packetToError (/data/release/node-weapp-demo/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14) at Query.ErrorPacket (/data/release/node-weapp-demo/node_modules/mysql/lib/protocol/sequences/Query.js:77:18) at Protocol._parsePacket (/data/release/node-weapp-demo/node_modules/mysql/lib/protocol/Protocol.js:279:23) at Parser.write (/data/release/node-weapp-demo/node_modules/mysql/lib/protocol/Parser.js:76:12) at Protocol.write (/data/release/node-weapp-demo/node_modules/mysql/lib/protocol/Protocol.js:39:16) at Socket.<anonymous> (/data/release/node-weapp-demo/node_modules/mysql/lib/Connection.js:103:28) at emitOne (events.js:115:13) at Socket.emit (events.js:210:7) at addChunk (_stream_readable.js:252:12) at readableAddChunk (_stream_readable.js:239:11) at Socket.Readable.push (_stream_readable.js:197:10) at TCP.onread (net.js:589:20) -------------------- at Protocol._enqueue (/data/release/node-weapp-demo/node_modules/mysql/lib/protocol/Protocol.js:145:48) at Connection.query (/data/release/node-weapp-demo/node_modules/mysql/lib/Connection.js:208:25) at /data/release/node-weapp-demo/node_modules/knex/lib/dialects/mysql/index.js:152:18 at Promise._execute (/data/release/node-weapp-demo/node_modules/bluebird/js/release/debuggability.js:300:9) at Promise._resolveFromExecutor (/data/release/node-weapp-demo/node_modules/bluebird/js/release/promise.js:483:18) at new Promise (/data/release/node-weapp-demo/node_modules/bluebird/js/release/promise.js:79:10) at Client_MySQL._query (/data/release/node-weapp-demo/node_modules/knex/lib/dialects/mysql/index.js:146:12) at Client_MySQL.query (/data/release/node-weapp-demo/node_modules/knex/lib/client.js:197:17) at Runner.<anonymous> (/data/release/node-weapp-demo/node_modules/knex/lib/runner.js:146:36) at Runner.tryCatcher (/data/release/node-weapp-demo/node_modules/bluebird/js/release/util.js:16:23) at Runner.query (/data/release/node-weapp-demo/node_modules/bluebird/js/release/method.js:15:34) at /data/release/node-weapp-demo/node_modules/knex/lib/runner.js:65:21 at tryCatcher (/data/release/node-weapp-demo/node_modules/bluebird/js/release/util.js:16:23) at /data/release/node-weapp-demo/node_modules/bluebird/js/release/using.js:185:26 at tryCatcher (/data/release/node-weapp-demo/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/data/release/node-weapp-demo/node_modules/bluebird/js/release/promise.js:512:31) 无法操作数据库这是怎么回事?
2017-09-22 - 小程序腾讯云里的数据库不能用
const fs = require('fs') const path = require('path') const { mysql: config } = require('../config') console.log('开始初始化数据库...') // 初始化 SQL 文件路径 const INIT_DB_FILE = path.join(__dirname, '../tools/cAuth.sql') const DB = require('knex')({ client: 'mysql', connection: { host: config.host, port: config.port, user: config.user, password: config.pass, database: config.db, charset: config.char, multipleStatements: true } }) console.log(`准备读取 SQL 文件:${INIT_DB_FILE}`) // 读取 .sql 文件内容 const content = fs.readFileSync(INIT_DB_FILE, 'utf8') console.log('开始执行 SQL 文件...') console.log(content) // 执行 .sql 文件内容 DB.raw(content).then(res => { process.exit(0) console.log('数据库初始化成功!') }, err => { console.log(err) throw new Error(err) }) console.log('*******************') 运行以上代码服务器就崩了
2017-09-20 - 小程序腾讯云不能用
npm WARN koa-weapp-demo@1.0.0 No repository field. 开始初始化数据库... 准备读取 SQL 文件:C:\Users\刘兵\Desktop\wafer2-startup\server\tools\cAuth.sql 开始执行 SQL 文件... Unhandled rejection Error: Error: connect ECONNREFUSED 127.0.0.1:3306 at DB.raw.then.err (C:\Users\刘兵\Desktop\wafer2-startup\server\tools\initdb.js:40:11) at tryCatcher (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:569:18) at Promise._settlePromise0 (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:689:18) at Async._drainQueue (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:133:16) at Async._drainQueues (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:143:10) at Immediate.Async.drainQueues (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:17:14) at runCallback (timers.js:672:20) at tryOnImmediate (timers.js:645:5) at processImmediate [as _immediateCallback] (timers.js:617:5)
2017-09-19