在角度1.4.6中渲染svg图像时出现500错误

时间:2019-06-14 18:05:41

标签: angularjs svg

使用xlink:href属性通过Java脚本函数传递svg图像元素的相对路径时,出现500错误。 角版本:1.4.6

const Discord = require("discord.js");

module.exports.run = async (client, message, args) => {
  let currentChannel = message.channel.name;
  let category = message.channel.parent;;
  message.guild.createChannel(currentChannel).then(mchannel => {
    mchannel.setParent(category).then(() => {
      message.channel.delete();
    });
  });
}

module.exports.help = {
    name: "a.cleanchannel"
}
// Need the channel permissions to overwrite the new channel's permissions with the old ones

预期在控制台上看不到错误消息

0 个答案:

没有答案