提交 86583c16 编写于 作者: W wanganxp

修改api分类

上级 e319030e
......@@ -123,38 +123,6 @@
},
] as Page[],
},
{
id: 'network',
name: '网络',
pages: [
{
name: '发起请求request',
url: 'request',
},
{
name: '上传文件',
url: 'upload-file',
},
{
name: '下载文件',
url: 'download-file',
},
{
name: '获取设备网络状态',
url: 'get-network-type',
},
{
name: 'socketTask',
url: 'websocket-socketTask',
api: [""] //它不是uni.的api
},
{
name: '全局websocket',
url: 'websocket-global',
api: ["connectSocket", "onSocketOpen", "onSocketError", "sendSocketMessage", "onSocketMessage", "closeSocket", "onSocketClose"]
},
] as Page[],
},
{
id: 'ui',
name: '界面',
......@@ -175,38 +143,70 @@
enable: false
}, */
{
name: '获取节点',
name: 'element元素',
url: 'get-element-by-id',
api: ["getElementById"]
},
{
name: '节点信息',
name: 'node节点',
url: 'nodes-info',
api: ["createSelectorQuery"]
},
{
name: '显示操作菜单',
name: '动态加载字体',
url: 'load-font-face',
},
{
name: 'actionSheet操作菜单',
url: 'action-sheet',
},
{
name: '显示模态弹窗',
name: 'showModal模态弹窗',
url: 'modal',
api: ["showModal"]
},
{
name: '显示加载提示框',
name: 'showLoading等待框',
url: 'show-loading',
},
{
name: '显示消息提示框',
name: 'showToast轻提示框',
url: 'toast',
api: ["showToast"]
},
{
name: '动态加载字体',
url: 'load-font-face',
},
}
] as Page[],
},
{
id: 'network',
name: '网络',
pages: [
{
name: '发起请求request',
url: 'request',
},
{
name: '上传文件',
url: 'upload-file',
},
{
name: '下载文件',
url: 'download-file',
},
{
name: '获取设备网络状态',
url: 'get-network-type',
},
{
name: 'socketTask',
url: 'websocket-socketTask',
api: [""] //它不是uni.的api
},
{
name: '全局websocket',
url: 'websocket-global',
api: ["connectSocket", "onSocketOpen", "onSocketError", "sendSocketMessage", "onSocketMessage", "closeSocket", "onSocketClose"]
},
] as Page[],
},
{
id: 'device',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册