Blame view

examples/routers/poptip.vue 567 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>
bf962a69   梁灏   remove Row css - ...
11
      </div>
40f8606f   梁灏   add Notice component
12
13
  </template>
  <script>
40f8606f   梁灏   add Notice component
14
      export default {
2c5faf30   梁灏   init Avatar compo...
15
16
17
18
19
20
21
22
          methods: {
              ok () {
                  this.$Message.info('点击了确定');
              },
              cancel () {
                  this.$Message.info('点击了取消');
              }
          }
40f8606f   梁灏   add Notice component
23
      }
d6342fe1   jingsam   fixed ie bug
24
  </script>