Luosimao is used in vue to verify that the package cannot be displayed after it has been launched.

problem description

cannot be displayed after package is launched using Luosimao human machine in vue

Local introduction

entry file index.html

    <script src="//captcha.luosimao.com/static/dist/api.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
    <script src="//captcha.luosimao.com/static/lib/page.js"></script>

index.vue login component

 <div class="l-captcha" data-site-key="cc9864bb9d0d879aaf4c323586911583" data-callback="getResponse"></div>

it can be displayed locally, and the code cannot recognize it after it is packaged and launched

related codes

what result do you expect? What is the error message actually seen?

clipboard.png

Jul.17,2021
Menu