.
This commit is contained in:
24
root/qtask/abc.html
Normal file
24
root/qtask/abc.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<div id="abc">
|
||||
{{cfg.title}}
|
||||
|
||||
<button @click="abc">asf</button>
|
||||
<button @click="abc">openDia</button>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var vm = new Vue({
|
||||
el: "#abc",
|
||||
data: {
|
||||
cfg: {
|
||||
title: "12"
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
abc: function () {
|
||||
console.log("abc");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user