1. <table id="w9hw2"></table>
      <big id="w9hw2"></big>

      extjs 部署时动态切换上下文路径

      小编:管理员 240阅读 2022.09.07

      修改index.html
      ...
      <script type="text/javascript">
          // 获取首页上下文路径
          var basePath = window.kk;
          basePath = basePath.substr(0, basePath.lastIndexOf('index.html'));
          // 创建base标签
          var base = document.createElement("base");
          base.setAttribute("href", basePath);
          document.getElementsByTagName('head')[0].appendChild(base);
      
          var Ext = Ext || {};
          ...
      复制
      关联标签:
      免费一级片或者是视频
      1. <table id="w9hw2"></table>
        <big id="w9hw2"></big>