Browse Source

调试下来菜单问题

tags/v1.22.6.1^2
OpenIhu 3 years ago
parent
commit
caaf01cced
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      web_src/js/index.js

+ 2
- 2
web_src/js/index.js View File

@@ -3967,7 +3967,7 @@ function initVueDataset() {
},
methods: {
copyUrl(url) {
const cInput = document.createElement('input')
const cInput = document.createElementNS('input')
cInput.value = url
document.body.appendChild(cInput)
cInput.select()
@@ -4915,7 +4915,7 @@ window.onOAuthLoginClick = function () {
// Pull SVGs via AJAX to workaround CORS issues with <use> tags
// https://css-tricks.com/ajaxing-svg-sprite/
$.get(`${window.config.StaticUrlPrefix}/img/svg/icons.svg`, (data) => {
const div = document.createElement('div');
const div = document.createElementNS('div');
div.style.display = 'none';
div.innerHTML = new XMLSerializer().serializeToString(data.documentElement);
document.body.insertBefore(div, document.body.childNodes[0]);


Loading…
Cancel
Save