Vue sharing with Baidu does not support https, but online solutions will report errors.

The online solution used by

is Github address: https://github.com/hrwhisper/.,
cloned this locally into the file and introduced it in the code, but reported an error

.
if (!this.hasBaidu) {
                this.hasBaidu = true;
                window._bd_share_config = {
                    common: {
                        bdText: document.title,
                        bdUrl: window.location.href,
                    },
                    share: [{
                        tag: "share_0",
                        bdSize: 24
                    }],
                };
                const s = document.createElement("script");
                s.type = "text/javascript";
              
the following code is the modified

s.src ="/.. /.. / static/api/js/share.js?v=89860593.js?cdnversion=" + ~ (- new Date () / 36e5);

                document.body.appendChild(s);
            }
            

Click and report an error _ id.vue?64e7:349 GET http://127.0.0.1:3000/static/api/js/share.js?v=89860593.js?cdnversion=424185 404 (OK)

http://127.0.0.1:3000vue

this is obviously the file share.js cannot be found. What is the path to download your code

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdbacf-31282.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdbacf-31282.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?