v-html 绑定事件

 

word: `AndroidDownload IosDownload`,
import { downloadApp } from "@/common/index.js";
 created() {
    window.downloadApp = downloadApp;
  },

把点击事件函数挂在在window下面

你可能感兴趣的:(javascript)