上一页 1 2 3 4 5 6 ··· 24 下一页
摘要: 1 // 如果拷贝此内容切记去除注释 2 // 下面的配置文件中所有时间的单位都是秒 3 { 4 // 数据库中password字段是加密存储的,这里的passwordSecret即为加密密码所用的加密算法 5 // 通常情况下设定好passwordSecret之后不需要再进行修改 6 // 如果要 阅读全文
posted @ 2023-02-09 16:52 1024记忆 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 1 'use strict'; 2 exports.main = async (event, context) => { 3 //JQL连接数据库 4 const db = uniCloud.databaseForJQL({ 5 event, 6 context 7 }) 8 9 //event为客 阅读全文
posted @ 2023-02-09 16:25 1024记忆 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1 // 云对象教程: https://uniapp.dcloud.net.cn/uniCloud/cloud-obj 2 // jsdoc语法提示教程:https://ask.dcloud.net.cn/docs/#//ask.dcloud.net.cn/article/129 3 module. 阅读全文
posted @ 2023-02-09 16:24 1024记忆 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1 // schema扩展相关文档请参阅:https://uniapp.dcloud.net.cn/uniCloud/jql-schema-ext.html 2 module.exports = { 3 trigger: { 4 // 写入JQL数据库的标准写法 5 // read触发器 6 bef 阅读全文
posted @ 2023-02-09 16:22 1024记忆 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1 { 2 "bsonType": "object", // 固定节点 3 "description": "表的描述", 4 "required": [], // 必填字段,比如name,age 5 "permission": { 6 "read": false, // 前端非admin的读取记录权 阅读全文
posted @ 2023-02-09 16:20 1024记忆 阅读(277) 评论(0) 推荐(0) 编辑
摘要: The connection used to load resources from https://www.xxx.net used TLS 1.0 or TLS 1.1, which are deprecated and will be disabled in the future. Once 阅读全文
posted @ 2022-10-26 08:42 1024记忆 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: 引入 '@dcloudio/uni-app' 库,代码如下: import { onResize } from '@dcloudio/uni-app'; 阅读全文
posted @ 2022-09-22 16:34 1024记忆 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 一、父组件设置子组件的样式: 一般情况下子组件内部负责各自样式。不过在很多场合里,我们也会要求父组件来修改子组件默认样式。 父组件可以通过传入class样式修改有限的样式,或者通过:deep深度修改子组件内部样式。 (在uni-app单文件中,通过在父组件中定义全局样式,无法实现修改。) 子组件 < 阅读全文
posted @ 2022-09-21 22:26 1024记忆 阅读(426) 评论(0) 推荐(0) 编辑
摘要: uni-app 支持如下页面生命周期函数: 文档:https://uniapp.dcloud.net.cn/tutorial/page.html#lifecycle 函数名说明平台差异说明最低版本 onInit 监听页面初始化,其参数同 onLoad 参数,为上个页面传递的数据,参数类型为 Obje 阅读全文
posted @ 2022-09-21 21:26 1024记忆 阅读(194) 评论(0) 推荐(0) 编辑
摘要: uni-app 支持如下应用生命周期函数: 函数名说明 onLaunch 当uni-app 初始化完成时触发(全局只触发一次) onShow 当 uni-app 启动,或从后台进入前台显示 onHide 当 uni-app 从前台进入后台 onError 当 uni-app 报错时触发 onUniN 阅读全文
posted @ 2022-09-21 21:22 1024记忆 阅读(74) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 24 下一页