File tree 1 file changed +1
-31
lines changed
1 file changed +1
-31
lines changed Original file line number Diff line number Diff line change @@ -25,41 +25,11 @@ Thank you for contributing! Please carefully read the following before opening y
25
25
26
26
- 在avalon什么版本下? 你如果打开avalon源码,将最开头的那段注释贴上来!
27
27
28
- - 提供一个可以运行的例子,比如像这人
28
+ - 提供一个可以运行的例子,比如像这人,请认真用``` code ```及与markdown语法编写ISSUE
29
29
30
30
https://github.com/RubyLouvre/avalon/issues/1665
31
31
32
- ```
33
- 组件监听无法触发
34
- built in 2016-8-4:19 version 2.110 by 司徒正美 谷歌浏览器
35
32
36
- <body ms-controller="test">
37
- <xmp ms-widget="{is:'ms-div',$id:'123',Sesshoumaru:@Sesshoumaru}"></xmp>
38
- <button ms-click="@click">123</button>
39
- <script>
40
- avalon.component('ms-div', {
41
- template: '<div></div>',
42
- defaults: {
43
- Sesshoumaru: '',
44
- onInit: function() {
45
- this.$watch('Sesshoumaru', function() {
46
- console.log('Inuyasha love Sesshoumaru') //此处无法触发
47
- });
48
- }
49
- }
50
- })
51
-
52
- var vm = avalon.define({
53
- $id: 'test',
54
- Sesshoumaru: '',
55
- click: function() {
56
- this.Sesshoumaru = 567;
57
- },
58
- });
59
- </script>
60
- </body>
61
-
62
- ```
63
33
64
34
- 想快点得到解决,请提供具体的操作步骤
65
35
You can’t perform that action at this time.
0 commit comments