ken-form-design
Version:
基于vue、ant-design-vue的表单设计器,可视化开发表单
1 lines • 1.11 kB
JavaScript
(("undefined"!==typeof self?self:this)["webpackJsonpken_form_design"]=("undefined"!==typeof self?self:this)["webpackJsonpken_form_design"]||[]).push([[38],{7483:function(e,t,s){"use strict";s.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"slider-box",style:"width:".concat(e.record.options.width)},[t("div",{staticClass:"slider"},[t("Slider",e._b({model:{value:e.sliderValue,callback:function(t){e.sliderValue=t},expression:"sliderValue"}},"Slider",this.$attrs,!1))],1),e.record.options.showInput?t("div",{staticClass:"number"},[t("InputNumber",e._b({staticStyle:{width:"100%"},model:{value:e.sliderValue,callback:function(t){e.sliderValue=t},expression:"sliderValue"}},"InputNumber",this.$attrs,!1))],1):e._e()])},l=[],i=s("e74d"),r=i["c"].getComponent("aSlider").component,o=i["c"].getComponent("number").component,u={name:"KSlider",props:["record","value"],components:{Slider:r,InputNumber:o},computed:{sliderValue:{get:function(){return this.value},set:function(e){this.$emit("change",e)}}}},a=u,d=s("2877"),c=Object(d["a"])(a,n,l,!1,null,null,null),p=c.exports;t["default"]=p}}]);