diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json new file mode 100644 index 0000000..81f13f4 --- /dev/null +++ b/.hbuilderx/launch.json @@ -0,0 +1,16 @@ +{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 + "version": "0.0", + "configurations": [{ + "default" : + { + "launchtype" : "local" + }, + "mp-weixin" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" + } + ] +} diff --git a/App.vue b/App.vue index 3f148b4..08b4092 100644 --- a/App.vue +++ b/App.vue @@ -33,9 +33,9 @@ export default { // } let resData = { - appkey: "146010bdfe390e4893c854f0c50b4214", + appkey: "5beb4f3ad30ecbd876018a3798ab57a6", accid :'test_user_002', - token : '9d46fc00f15b93e3d0894fc5df733fc1' + token : '94fa9f4e72f8434f41d747111c76ab9e' } // let resData = { @@ -192,7 +192,8 @@ export default { }, }; - \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 564d37b..7866e1d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,8 +1,30 @@