Skip to content

Commit 72626ec

Browse files
author
RubyLouvre
committed
add issue template
1 parent dd753ad commit 72626ec

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

issue_template.md

+1-31
Original file line numberDiff line numberDiff line change
@@ -25,41 +25,11 @@ Thank you for contributing! Please carefully read the following before opening y
2525
2626
- 在avalon什么版本下? 你如果打开avalon源码,将最开头的那段注释贴上来!
2727
28-
- 提供一个可以运行的例子,比如像这人
28+
- 提供一个可以运行的例子,比如像这人,请认真用``` code ```及与markdown语法编写ISSUE
2929
3030
https://github.com/RubyLouvre/avalon/issues/1665
3131
32-
```
33-
组件监听无法触发
34-
built in 2016-8-4:19 version 2.110 by 司徒正美 谷歌浏览器
3532
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-
```
6333
6434
- 想快点得到解决,请提供具体的操作步骤
6535

0 commit comments

Comments
 (0)