huangmin1992
  // 复制链接
  copyLinkHandler() {
    const input = document.querySelector(\'#private-link-code\');
    input.value = this.copyLinkTxt;
    // 选中赋值过的input
    input.select();
    document.execCommand(\'Copy\');
  }

 

分类:

技术点:

相关文章: