Blame view

examples/routers/poptip.vue 784 Bytes
40f8606f   梁灏   add Notice component
1
  <template>
2c5faf30   梁灏   init Avatar compo...
2
3
4
5
6
7
8
9
      <div style="margin: 100px;">
          <Poptip
                  confirm
                  transfer
                  title="您确认删除这条内容吗?"
                  @on-ok="ok"
                  @on-cancel="cancel">
              <Button>删除</Button>
9699c270   梁灏   add Poptip component
10
          </Poptip>
1d83a8aa   梁灏   fixed #1612
11
12
13
14
15
16
17
          <Poptip
                  confirm
                  title="您确认删除这条内容吗?"
                  @on-ok="ok"
                  @on-cancel="cancel">
              <Button>删除</Button>
          </Poptip>
bf962a69   梁灏   remove Row css - ...
18
      </div>
40f8606f   梁灏   add Notice component
19
20
  </template>
  <script>
40f8606f   梁灏   add Notice component
21
      export default {
2c5faf30   梁灏   init Avatar compo...
22
23
24
25
26
27
28
29
          methods: {
              ok () {
                  this.$Message.info('点击了确定');
              },
              cancel () {
                  this.$Message.info('点击了取消');
              }
          }
40f8606f   梁灏   add Notice component
30
      }
d6342fe1   jingsam   fixed ie bug
31
  </script>