Commit a137fbc5 authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent 3a81d111
...@@ -31,7 +31,7 @@ export default class ShareCenter { ...@@ -31,7 +31,7 @@ export default class ShareCenter {
* 分享 * 分享
* @param type 分享类型 * @param type 分享类型
*/ */
async doShare(type?: string) { async doShare() {
const inviteCode = await this.getInviteCode(); const inviteCode = await this.getInviteCode();
if (inviteCode) return false if (inviteCode) return false
const {shareInfo, appKey, shareOrigin} = getWebData(WebNetName.getFrontVariable).data const {shareInfo, appKey, shareOrigin} = getWebData(WebNetName.getFrontVariable).data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment