Commit a1a29114 by 胡悦

提交

1 parent e7cb381d
...@@ -5,9 +5,8 @@ ...@@ -5,9 +5,8 @@
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
"@vant/weapp": "^1.10.9", "@vant/weapp": "^1.10.9",
"glsx-applet-component": "^1.1.24" "glsx-applet-component": "^1.1.29"
}, },
"devDependencies": {},
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
......
...@@ -198,14 +198,14 @@ const decimal = (num, fixed = 2) => { ...@@ -198,14 +198,14 @@ const decimal = (num, fixed = 2) => {
*/ */
const noScroll = () => {} const noScroll = () => {}
/**设置粘贴板内容 */ /**设置粘贴板内容 */
const setCopyData = (data, callBack) => { // const setCopyData = (data, callBack) => {
wx.setClipboardData({ // wx.setClipboardData({
data: data, // data: data,
success(res) { // success(res) {
if (callBack && typeof callBack === 'function') callBack(res) // if (callBack && typeof callBack === 'function') callBack(res)
} // }
}) // })
} // }
/**是否全面屏 */ /**是否全面屏 */
const isFullSucreen = (isComponents) => { const isFullSucreen = (isComponents) => {
const thisPage = $router.getPageInstance() const thisPage = $router.getPageInstance()
...@@ -519,7 +519,7 @@ const Util = { ...@@ -519,7 +519,7 @@ const Util = {
hideLoading, hideLoading,
getMockConfig, getMockConfig,
getViewInfo, getViewInfo,
setCopyData, // setCopyData,
getSceneId, getSceneId,
haveEmoji, haveEmoji,
showToast, showToast,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!