Skip to content

Commit 69873d8

Browse files
committed
debug
1 parent 828d9c2 commit 69873d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/components/example/touch.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<script>
1313
import { log } from 'util';
14-
import {Color} from 'color';
14+
import { Color } from 'color';
1515
export default {
1616
data () {
1717
return {
@@ -24,7 +24,7 @@ export default {
2424
methods: {
2525
touch: function () {
2626
var colorModule = require("color");
27-
var red = new colorModule.Color("#ff0000");
27+
var red = new colorModule.Color("#ff0000");
2828
let btn = this.$refs.btn.nativeView;
2929
console.log('xxxx', btn.ios);
3030
//设置button按钮文字
@@ -36,8 +36,8 @@ var red = new colorModule.Color("#ff0000");
3636
btn.ios.setTitleColor = new Color('red');
3737
let title = btn.ios.currentTitle;
3838
console.log('标题', title);
39-
let titleColor = btn.ios.currentTitleColor
40-
;
39+
let titleColor = btn.ios.currentTitleColor
40+
;
4141
console.log('标题颜色', titleColor);
4242
;
4343
// [button addTarget: self action:@selector(touchDownAction) forControlEvents: UIControlEventTouchDown];

0 commit comments

Comments
 (0)