|
@@ -22,10 +22,10 @@
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="control">
|
|
|
- <div class="slider-demo-block">
|
|
|
+ <!-- <div class="slider-demo-block">
|
|
|
<span class="demonstration">色相调整</span>
|
|
|
<el-slider v-model="hue" :max="360" :min="0" show-input />
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<el-button type="primary" @click="cropperRef.rotateRight()"> 旋转 </el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -45,7 +45,7 @@ type CropperProps = {
|
|
|
};
|
|
|
const props = defineProps<CropperProps>();
|
|
|
|
|
|
-const hue = ref(90);
|
|
|
+const hue = ref(0);
|
|
|
// 样式控制
|
|
|
const sWidth = 500;
|
|
|
const sHeight = (props.fixed[1] / props.fixed[0]) * sWidth;
|