打赏

随笔分类 -  uniapp

uniapp中使用vuex
摘要:1.uniapp自带vuex,不需要在安装,创建store/index.js //引入vue和vuex import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const store = new Vuex.Store({//全局变量定义 阅读全文

posted @ 2022-11-02 10:50 jlyuan 阅读(429) 评论(0) 推荐(0) 编辑

uniCloud传统方式调用数据库-基本操作
摘要:1.后台云函数 todo/index.js 'use strict'; // 查询所有 const queryAll =(collection,params)=>{ return collection.get() } // 新增 const add = (collection,data)=>{ re 阅读全文

posted @ 2022-10-31 18:05 jlyuan 阅读(79) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

  • 随笔 - 52
  • 文章 - 1
  • 评论 - 1
  • 阅读 - 61911
点击右上角即可分享
微信分享提示