canvas-color-disc
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -24,19 +24,2 @@ 'use strict' | ||
devServer: { | ||
proxy: { | ||
'/api': { | ||
target: 'http://dev2.unisiot.com:53804',// 要跨域的域名 | ||
// target: 'http://192.168.33.58:53339',// 要跨域的域名 | ||
changeOrigin: true, // 是否开启跨域 | ||
pathRewrite:{ | ||
'^/api':'/' | ||
} | ||
}, | ||
'/file': { | ||
target: 'https://dev2filecenter.unisiot.com/putFile',// 要跨域的域名 | ||
changeOrigin: true, // 是否开启跨域 | ||
pathRewrite:{ | ||
'^/file':'/' | ||
} | ||
} | ||
}, | ||
clientLogLevel: 'warning', | ||
@@ -43,0 +26,0 @@ historyApiFallback: { |
{ | ||
"name": "canvas-color-disc", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Color disc realized by canvas", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -59,7 +59,5 @@ <!-- | ||
change(newRgb, utils) { | ||
console.log('change---', newRgb, utils) | ||
this.RGB = newRgb | ||
}, | ||
changing(newRgb, utils) { | ||
console.log('changing---', newRgb, utils) | ||
this.changingRGB = JSON.stringify(newRgb) | ||
@@ -66,0 +64,0 @@ }, |
@@ -16,4 +16,5 @@ /* | ||
} | ||
window.console.log(CanvasColorDisc.name) | ||
Vue.component(CanvasColorDisc.name, CanvasColorDisc) | ||
} | ||
export default CanvasColorDisc |
@@ -13,3 +13,3 @@ /* | ||
//main.js中引入 | ||
import canvasColorDisc from 'canvasColorDisc' | ||
import CanvasColorDisc from './index' | ||
import App from './App' | ||
@@ -19,3 +19,3 @@ | ||
Vue.use(canvasColorDisc); | ||
Vue.use(CanvasColorDisc) | ||
/* eslint-disable no-new */ | ||
@@ -22,0 +22,0 @@ new Vue({ |
@@ -148,3 +148,2 @@ /* eslint-disable */ | ||
} | ||
window.console.log(sins,'========='); | ||
return { | ||
@@ -300,3 +299,2 @@ radian: Math.PI*2 - sins, | ||
var num = hex_change(v); | ||
console.log(num) | ||
res += muti16(num, i); | ||
@@ -303,0 +301,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
54165
26
1013
75