Blame view

test/routers/more.vue 839 Bytes
2d948738   梁灏   update TimePicker...
1
2
3
  <style>
      body{
          height: 2000px !important;
9d844d53   梁灏   fixed Layout bug
4
5
      }
  </style>
7fa943eb   梁灏   init
6
  <template>
e011898c   梁灏   fixed #197
7
8
9
10
11
12
13
14
15
16
      <i-button type="primary" @click="modal1 = true">显示对话框</i-button>
      <Modal
              :visible.sync="modal1"
              title="普通的Modal对话框标题"
              @on-ok="ok"
              @on-cancel="cancel">
          <p>对话框内容</p>
          <p>对话框内容</p>
          <p>对话框内容</p>
      </Modal>
7fa943eb   梁灏   init
17
18
  </template>
  <script>
7fa943eb   梁灏   init
19
      export default {
e011898c   梁灏   fixed #197
20
21
22
23
24
25
26
27
28
29
30
31
32
33
          data () {
              return {
                  modal1: false
              }
          },
          methods: {
              ok () {
                  this.$nextTick(() => this.modal1 = true);
                  this.$Message.info('点击了确定');
              },
              cancel () {
                  this.$Message.info('点击了取消');
              }
          }
7fa943eb   梁灏   init
34
      }
e1134de2   jingsam   not bundle vue in...
35
  </script>