<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ### JS增強函數中支持下面四種請求方式: | 請求類型 | 語法 | | --- | --- | | get | ` getAction(url, param)` | | post| `postAction(url, param)` | | put| `putAction(url, param)` | | delete| `deleteAction(url, param)` | >[info] url:請求地址 param:請求參數 #### 示例: 1.java代碼: ~~~ // 請求地址 /test/enhance/testRequest @GetMapping("/testRequest") public Result testRequest(){ return Result.ok("請求成功!"); } ~~~ 2.新增按鈕: ![](https://img.kancloud.cn/aa/b0/aab0f661c0ac8815f117ac03f7be49ad_795x352.png) 3.配置增強 ``` testRequest(){ getAction('/test/enhance/testRequest').then(res=>{ console.log(res) }) } ``` 4.點擊按鈕,觸發函數,控制臺打印: ![](https://img.kancloud.cn/5a/0d/5a0d787c2302d0841b137bc39b469b82_728x120.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看