Blame view

examples/routers/poptip.vue 822 Bytes
40f8606f   梁灏   add Notice component
1
  <template>
79288d43   梁灏   support Poptip & ...
2
3
4
5
6
7
8
      <div style="margin: 100px;">
          <Poptip
                  confirm
                  title="您确认删除这条内容吗?"
                  @on-ok="ok"
                  @on-cancel="cancel">
              <Button>删除</Button>
071506fc   梁灏   optimize Poptip f...
9
          </Poptip>
79288d43   梁灏   support Poptip & ...
10
11
12
13
14
15
16
17
          <Poptip
                  confirm
                  title="Are you sure delete this task?"
                  @on-ok="ok"
                  @on-cancel="cancel"
                  ok-text="yes"
                  cancel-text="no">
              <Button>国际化</Button>
9699c270   梁灏   add Poptip component
18
          </Poptip>
bf962a69   梁灏   remove Row css - ...
19
      </div>
40f8606f   梁灏   add Notice component
20
21
  </template>
  <script>
40f8606f   梁灏   add Notice component
22
      export default {
79288d43   梁灏   support Poptip & ...
23
24
25
26
27
28
29
30
          methods: {
              ok () {
                  this.$Message.info('点击了确定');
              },
              cancel () {
                  this.$Message.info('点击了取消');
              }
          }
40f8606f   梁灏   add Notice component
31
      }
d6342fe1   jingsam   fixed ie bug
32
  </script>