k-form-design
Version:
基于vue、ant-design-vue的表单设计器,可视化开发表单
1 lines • 1.12 kB
JavaScript
(("undefined"!==typeof self?self:this)["webpackJsonpk_form_design"]=("undefined"!==typeof self?self:this)["webpackJsonpk_form_design"]||[]).push([[34],{7483:function(e,t,s){"use strict";s.r(t);var l=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"slider-box",style:"width:"+e.record.options.width},[s("div",{staticClass:"slider"},[s("Slider",e._b({model:{value:e.sliderValue,callback:function(t){e.sliderValue=t},expression:"sliderValue"}},"Slider",this.$attrs,!1))],1),e.record.options.showInput?s("div",{staticClass:"number"},[s("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()])},n=[],i=s("e74d"),r=i["d"].getComponent("aSlider").component,o=i["d"].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)}}}},d=u,a=s("2877"),c=Object(a["a"])(d,l,n,!1,null,null,null),p=c.exports;t["default"]=p}}]);