角2材料不与电子一起工作

时间:2017-01-11 13:18:57

标签: javascript angular angular-material electron

的index.html

<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta charset="UTF-8">
  <title>Desktop App</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <meta name="format-detection" content="telephone=no">
  <meta name="msapplication-tap-highlight" content="no">

  <link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico">
  <link rel="manifest" href="manifest.json">
  <meta name="theme-color" content="#4e8ef7">

  <link href="assets/style.css" rel="stylesheet">
  <link href="assets/overlay.css" rel="stylesheet">
  <link rel="stylesheet" href="assets/bootstrap.min.css" />
  <link href="assets/material-icons.css" rel="stylesheet">
  <base href="./">
</head>

<body>
  <app>
    Loading
  </app>
  <script src="js/ajax-d3.min.js"></script>
  <script src="js/ajax-nvd3.js"></script>
  <script src="js/hammer.min.js"></script>
  <script src="js/desktop.min.js"></script>
</body>

</html>

当我在浏览器材料上加载此html浮动标签工作正常但是当我用电子加载它时它停止工作..

它应该像

一样工作

enter image description here

但它的工作方式如

enter image description here

请帮助!!

0 个答案:

没有答案