• Alist访问主页显示空白解决方法


    问题记录

    • 访问Alist主页显示空白,按F12打开开发人员工具 ,选择控制台,报错如下
    index.75e31196.js:20  Uncaught TypeError: Cannot assign to read only property '__symbol@@0.17729640949141956' of object '[object Object]'
        at index.75e31196.js:20:187047
        at au (index.75e31196.js:20:185452)
        at t8 (index.75e31196.js:20:187014)
        at Object.Ew [as freezeMethods] (index.75e31196.js:20:187090)
        at index.75e31196.js:21:2839
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6

    问题探索和解决

    网络方案

    问题探究

    • 该问题的出现时Alist全局定义中使用的替换脚本导致的
      在这里插入图片描述
    <script src="https://polyfill.io/v3/polyfill.min.js?features=String.prototype.replaceAll"></script>
    
    • 1