打赏

随笔分类 -  uniapp

摘要: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 阅读(466) 评论(0) 推荐(0)

摘要: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 阅读(117) 评论(0) 推荐(0)

导航