emoyee
emoyee
effect我打印出来过,值没有问题 全部逻辑代码: ``` changeStyle:function(e){ let _this = this; switch (e) { case '素描':_this.effect="art:incognito";break; case '复古':_this.effect="sepia";break; case '模糊':_this.effect="pixelate:10";break; case '卡通化':_this.effect="cartoonify";break; } var cloudinary=document.getElementById("imgPic"); console.log(_this.effect); console.log(cloudinary); _this.changePic(e); }, changePic(style){ let _this =...
根据下拉框选择不同的风格滤镜,图片会呈现不同的效果,但是effect渲染出来的url 上有点问题
 It's still the same
Thanks for your reply.I need this effect to be variable,the effect value is changed, but not rendered. Test project I have released on https://github.com/emoyee/testImg.
Hi,@rikuoCloudinary.I tried this URL, but I also changed `el-select` to `select` in my project, and the rendered URL remains unchanged.  The code is exactly the same as that on...
``` Effect value: {{ effect }} 图片效果: 黑白 模糊 复古 export default { data() { return { public_id: "", effect: "", }; }, methods: { upload: function (e) { var...
After this effect is assigned a value, the value will not change.  This effect should become `art:quartz`, but nothing has changed.
 Still like this. ``` changeStyle: function (event) { this.effect = event.target.value; var cloudinary = document.getElementById("imgPic"); console.log("this.effect", this.effect); console.log("cloud", cloudinary); // this.effect = "art:quartz"; // Statically setting the value //...
How can I change it? This needs an initial value, otherwise there will be errors.
If so, the `` will not change and will always render the default value. ``` ```