On the problem of error report of iview removal Node

iview error content:

Uncaught TypeError: Failed to execute "removeChild" on" Node": parameter 1 is not of type "Node". At eval (iview.js?0536:31530)

bV7x6e?w=821&h=334

bV7x6o?w=895&h=134

Mar.02,2021

reason:
node_modules > iview > src > components > spin.js
remove (cb) {

    spin.visible = false;
    setTimeout(function() {
        spin.$parent.$destroy();
        //removeChild 
        if (document.getElementsByClassName('ivu-spin-fullscreen')[0]) {
            document.body.removeChild(document.getElementsByClassName('ivu-spin-fullscreen')[0]);
        }
        cb();
    }, 500);
},

but because this is the source code, you also need to modify the packaged file: node_modules > iview > dist > iview.js

31529 line, change it to the following:
if (document.getElementsByClassName ('ivu-spin-fullscreen') [0]) {
            document.body.removeChild(document.getElementsByClassName('ivu-spin-fullscreen')[0]);
        }
        
        iview.Spin.hide()
        iviewissue
  
Menu