style: 新增复制粘贴以及拨打电话封装模块,优化部分文件中的变量名、将冗余功能抽出、优化订单详情展示

This commit is contained in:
学习很差啦
2023-01-29 18:14:53 +08:00
parent 43fc159e27
commit 5dc562396c
5 changed files with 96 additions and 80 deletions

View File

@@ -83,20 +83,7 @@ export default {
this.configs.shareLink +
getCurrentPages()[getCurrentPages().length - 1].__page__.fullPath;
}
if (content === null || content === undefined) {
content = "";
} else content = content + "";
const result = h5Copy(content);
if (result === false) {
uni.showToast({
title: "不支持",
});
} else {
uni.showToast({
title: "复制成功",
icon: "none",
});
}
this.$options.filters.setClipboard(content)
},
// #endif