File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111
1212<script >
1313import { log } from ' util' ;
14- import {Color } from ' color' ;
14+ import { Color } from ' color' ;
1515export 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];
You can’t perform that action at this time.
0 commit comments