回答編集履歴
1
文字作成もうちょっと頑張る
test
CHANGED
@@ -32,7 +32,11 @@
|
|
32
32
|
|
33
33
|
</ul>
|
34
34
|
|
35
|
-
<input
|
35
|
+
<input v-model.number="Billion_count_f" placeholder="edit me">
|
36
|
+
|
37
|
+
<input v-model.number="million_count_f" placeholder="edit me">
|
38
|
+
|
39
|
+
<input v-model.number="yen_count_f" placeholder="edit me">
|
36
40
|
|
37
41
|
</div>
|
38
42
|
|
@@ -58,13 +62,27 @@
|
|
58
62
|
|
59
63
|
titleMessage: function() {
|
60
64
|
|
61
|
-
|
65
|
+
var str = '';
|
62
66
|
|
67
|
+
if(this.Billion_count_f) {
|
68
|
+
|
63
|
-
|
69
|
+
str += this.Billion_count_f + '億';
|
64
70
|
|
65
71
|
}
|
66
72
|
|
73
|
+
if(this.million_count_f) {
|
74
|
+
|
67
|
-
|
75
|
+
str += this.million_count_f + '万';
|
76
|
+
|
77
|
+
}
|
78
|
+
|
79
|
+
if(this.yen_count_f) {
|
80
|
+
|
81
|
+
str += this.yen_count_f;
|
82
|
+
|
83
|
+
}
|
84
|
+
|
85
|
+
return(str + '円');
|
68
86
|
|
69
87
|
}
|
70
88
|
|