Skip to content

Commit dd753ad

Browse files
author
RubyLouvre
committed
add
1 parent 0e3acea commit dd753ad

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

issue_template.md

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<!--
2+
Thank you for contributing! Please carefully read the following before opening your issue.
3+
4+
中文用户:请尽量用英文描述你的 issue,这样能够让尽可能多的人帮到你。
5+
6+
如何提问
7+
===============
8+
请在提问前详细阅读下面内部
9+
10+
- 没有看过官网先看一遍官网: http://avalonjs.coding.me/
11+
- 没有看过教程先看一遍教程: https://segmentfault.com/u/situzhengmei/articles
12+
- 到论坛用关键查一下有没有人遇到与你相同的问题: http://www.avalon.org.cn/
13+
- 到**segementFault**搜索: https://segmentfault.com/search?q=avalon
14+
- 检查一下已关掉的issue有没有与你相同的问题: https://github.com/RubyLouvre/avalon/issues?q=is%3Aissue+is%3Aclosed
15+
16+
17+
为了提高avalon的影响力,如果确定不是BUG,是你一些疑问与业务难题,请到**segementFault**上发贴子
18+
19+
当然有你有什么分享或avalon组件也建议直接在**segementFault**上发贴子
20+
21+
22+
如果你确定是BUG,请按以下格式提问
23+
================
24+
- 在什么浏览器下,IE6,IE7,chrome51?
25+
26+
- 在avalon什么版本下? 你如果打开avalon源码,将最开头的那段注释贴上来!
27+
28+
- 提供一个可以运行的例子,比如像这人
29+
30+
https://github.com/RubyLouvre/avalon/issues/1665
31+
32+
```
33+
组件监听无法触发
34+
built in 2016-8-4:19 version 2.110 by 司徒正美 谷歌浏览器
35+
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+
64+
- 想快点得到解决,请提供具体的操作步骤
65+
66+
- 想快点得到解决, 最好将控制如的错误信息也截图贴上来!

0 commit comments

Comments
 (0)