profile
viewpoint
超杰 dream2023 找工作... 广州 http://dream2023.github.io 嗯, 学习能力很重要, 2023年见

dream2023/vue-ele-form 503

基于element-ui的数据驱动表单组件

dream2023/ThinkPHP5-alipay 229

ThinkPHP5 支付宝支付扩展库, 包括手机网站支付、电脑网站支付、支付查询、退款、退款查询、对账单等

denodev/typedoc 134

Deno API - Simplified Chinese

dream2023/awesome-lesscode 46

less code / no code 前后端实践和工具列表

dream2023/vue-ele-editable 11

vue-ele-editable | 高效、简单、强大的 element-ui 行内编辑组件

dream2023/blog 9

个人博客和视频

dream2023/ele-table-editor 9

基于 element-ui 的表格编辑组件

dream2023/easy-affix 8

Vue图钉组件, 可以将内容固定在屏幕上,并且不随页面的滚动而滚动,常用于侧边菜单和导航栏等

dream2023/vue-auto-text 6

vue-auto-text | 文字大小自适应组件

dream2023/all-trim 5

支持字符串、数组、对象、嵌套数组等等的去除空格

issue closeddream2023/vue-ele-form

dialog模式下必填验证bug

<!-- 注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。

Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.

-->

Bug report(问题描述)

dialog模式下change时验证上次内容

Steps to reproduce(问题复现步骤)

<ele-form-dialog v-model="formData" :visible="true" :formDesc="formDesc" /> formData: {}, formDesc: { username: { label: "用户名称", type: "input", required: true, layout: 12, }, }

Screenshot or Gif(截图或动态图)

https://s1.ax1x.com/2020/05/08/YumpBF.gif

Link to minimal reproduction(最小可在线还原demo)

<!-- Please only use Codepen, JSFiddle, CodeSandbox or a github repo -->

Other relevant information(格外信息)

  • Vue version: 2.6.11
  • ElementUI version: 2.13.1
  • vue-ele-form version: 0.8.24

closed time in 4 days

wangmeng1991

issue commentdream2023/vue-ele-form

dialog模式下必填验证bug

已解决

wangmeng1991

comment created time in 4 days

issue closeddream2023/vue-ele-form

使用group分组时切换tab会报错

文档中的group分组代码,切换tab会出错

closed time in 4 days

akhuting

issue commentdream2023/vue-ele-form

使用group分组时切换tab会报错

已解决

akhuting

comment created time in 4 days

issue closeddream2023/vue-ele-form

ele-form-dialog select options传入computed属性,最终页面提示“无数据”

<!-- 注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。

Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.

-->

Bug report(问题描述)

基于vue-admin-template项目, 在使用ele-form-dialog组件时,通过computed属性为ele-form-dialog的某个select字段options赋值,运行时下拉组件显示'无数据’

Steps to reproduce(问题复现步骤)

代码样例如下

<template>
  <div class="app-container">
    <div class="filter-container">
      <el-button
        type="primary"
        icon="el-icon-edit"
        @click="handleCreate"
      >新建用户</el-button>
    </div>

    <ele-form-dialog
      v-model="dialogForm.formData"
      :form-desc="dialogForm.formDesc"
      :is-loading="dialogForm.isFormLoading"
      :form-error="dialogForm.formError"
      :rules="dialogForm.rules"
      :visible.sync="dialogForm.dialogFormVisible"
      :title="dialogForm.title"
      @request="handleSubmitForm"
    />
    <el-table v-loading="listLoading" :data="tableData" border style="width: 100%">
      ...
    </el-table>

    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="currentPage"
      :limit.sync="pageSize"
      :page-sizes="[10, 20, 50, 100]"
    />
  </div>
</template>

export default {
  components: { Pagination },
  data() {
    return {
      pageSize: 10,
      currentPage: 1,
      listLoading: false,
      dialogStatus: '',
      textMap: {
        update: '编辑用户',
        create: '新建用户'
      },
      dialogForm: {
        formData: {},
        formDesc: {
          groupid: {
            options: this.groupOptions,
            label: '分组名称',
            type: 'select',
            required: true,
            isReloadOptions: true,
            disabled(data) {
              return data.dialogStatus === 'update'
            }
          },
          username: {
            label: '手机号',
            type: 'input',
            required: true,
            rules: [
              {
                len: 11,
                enum: [],
                type: 'string',
                trigger: 'blur',
                message: '手机号长度为11位'
              }
            ],
            disabled(data) {
              return data.dialogStatus === 'update'
            }
          },
          password: {
            label: '密码',
            type: 'input',
            required: true,
            rules: [
              {
                min: 6,
                max: 16,
                enum: [],
                type: 'string',
                trigger: 'blur',
                message: '密码长度在6-16位之间'
              }
            ]
          },
          firstName: {
            label: '中文名称',
            type: 'input',
            required: true
          },
          email: {
            label: '邮箱',
            type: 'input',
            required: true,
            rules: [
              {
                enum: [],
                type: 'email',
                trigger: 'blur',
                message: '邮箱格式不正确'
              }
            ]
          }
        },
        dialogFormVisible: false,
        isFormLoading: false,
        rules: {},
        formError: {},
        title: ''
      }
    }
  },
  computed: {
    ...mapGetters(['groups']),
    ...mapGetters(['users']),
    groupOptions: function() {
      var arr = []
      this.groups.forEach(g => {
        arr.push({
          text: g.name,
          value: g.id
        })
      })
      return arr
    }
  }
}

Screenshot or Gif(截图或动态图)

Link to minimal reproduction(最小可在线还原demo)

<!-- Please only use Codepen, JSFiddle, CodeSandbox or a github repo -->

Other relevant information(格外信息)

  • Vue version: 2.6.10
  • ElementUI version: 2.7.2
  • vue-ele-form version: 0.8.24

closed time in 4 days

marryton007

issue commentdream2023/vue-ele-form

ele-form-dialog select options传入computed属性,最终页面提示“无数据”

可以试试,用函数或者异步函数:https://www.yuque.com/chaojie-vjiel/vbwzgu/cmerhn#dMu6Y

marryton007

comment created time in 4 days

issue closeddream2023/vue-ele-form

表单页载入完成后必填项错误直接显示

<!-- 注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。

Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.

-->

Bug report(问题描述)

1、表单页载入完成后必填项错误直接显示 2、select组件完成选择后,必填错误提示并不消失,但表单可以正常提交

Steps to reproduce(问题复现步骤)

<!--

  1. [xxx]
  2. [xxx]
  3. [xxxx] -->

Screenshot or Gif(截图或动态图)

Link to minimal reproduction(最小可在线还原demo)

<!-- Please only use Codepen, JSFiddle, CodeSandbox or a github repo -->

Other relevant information(格外信息)

  • Vue version:
  • ElementUI version: 最新版
  • vue-ele-form version: 最新版

closed time in 4 days

xzusoft

issue commentdream2023/vue-ele-form

表单页载入完成后必填项错误直接显示

已解决

xzusoft

comment created time in 4 days

issue closeddream2023/vue-ele-form

外部按钮触发表单验证提交

请问下不用自带的按钮,而是外部的按钮,能不能触发表单验证,获得表单的数据进行提交?我看到文档没有相关说明。

closed time in 4 days

chengcan0717

issue commentdream2023/vue-ele-form

外部按钮触发表单验证提交

可以看一下文档:https://www.yuque.com/chaojie-vjiel/vbwzgu/cmerhn#dMu6Y

chengcan0717

comment created time in 4 days

issue closeddream2023/vue-ele-form

select 不能使用 远程搜索 remote-method,请求回来以后不能像ele 官网一样直接赋值给options

select: {
          type: 'select',
          label: 'test',
          attrs: {
            remote: true,
            "remote-method": this.getOptions
          }
}


 async getOptions (q) {
      const result = await fetch('http://jsonplaceholder.typicode.com/users')
        .then(function (res) {
          return res.json()
        }).then((resOptions) => {
          let options = []
          resOptions.forEach(item => {
            options.push({ value: item.id, text: item.name })
          })
          for (let i = 0; i < this.sum; i++) {
            options.push({ value: i, text: i })
          }
          this.sum++
          return options
        })
     // 如何把result 返回到options??
    }


如何想ele 官网一样使用 远程搜索?? https://element.eleme.cn/#/zh-CN/component/select 或者提供其他方式更新options

closed time in 4 days

liangwenle

issue commentdream2023/vue-ele-form

select 不能使用 远程搜索 remote-method,请求回来以后不能像ele 官网一样直接赋值给options

已解决:https://www.yuque.com/chaojie-vjiel/vbwzgu/rgenav#QWGTm

liangwenle

comment created time in 4 days

issue closeddream2023/vue-ele-form

当表单存在default值时,按删除键直到defaultValue="",value值又会立刻变成defaultValue

Bug report(问题描述)

前两天在使用vue-ele-form-image-uploader的时候为图片设置了默认值和必填,但是对图片点击删除按钮后仍可以正常提交,我开始以为是这个组件的bug,便去提了一个issue

之后空下来研究这个bug之后,发现并不是这么回事,于是就有了标题所说的bug

Steps to reproduce(问题复现步骤)

<!--

  1. [xxx]
  2. [xxx]
  3. [xxxx] -->

Screenshot or Gif(截图或动态图)

Link to minimal reproduction(最小可在线还原demo)

<template>
  <!-- 左右拖动, 可体验响应式表单 -->
  <ele-form
    v-model="formData"
    :formDesc="formDesc"
    :request-fn="handleSubmit"
    :rules="rules"
    @request-success="handleSuccess"
  ></ele-form>
</template>

<script>
  export default {
    data() {
      return {
        rules: {
          title: [
            { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
          ]
        },
        formDesc: {
          author: {
            children: {
              first: {
                type: 'input',
                label: '姓',
                layout: 8,
                required: true
              },
              second: {
                type: 'input',
                label: '名',
                layout: 16,
                required: true,
                disabled: data => !data.author.first
              }
            }
          },
          title: {
            default: "我是默认值",
![Video_20200623093829](https://user-images.githubusercontent.com/66452398/85351136-91aab780-b535-11ea-8561-33f883ec60e4.gif)

            type: 'input',
            label: '标题',
            rules: [{ required: true, message: '请输入标题', trigger: 'blur' }]
          },
          content: {
            type: 'textarea',
            label: '内容',
            required: true,
            attrs: {
              autosize: { minRows: 4, maxRows: 10 }
            }
          },
          original: {
            type: 'radio',
            label: '是否为原创',
            options: [
              { text: '原创', value: 1 },
              { text: '转载', value: 0 }
            ]
          },
          reprinted: {
            type: 'switch',
            label: '是否可转载',
            vif(data) {
              return data.original === 1
            }
          },
          sourceUrl: {
            type: 'input',
            label: '来源地址',
            vif(data) {
              return data.original === 0
            },
            slots: {
              prepend(h) {
                return h('span', 'http://')
              },
              append(h) {
                return h('span', '.com')
              }
            }
          }
        },
        formData: {}
      }
    },
    methods: {
      handleSubmit(data) {
        return Promise.resolve()
      },
      handleSuccess() {
        this.$message.success('创建成功')
      }
    }
  }
</script>

Other relevant information(格外信息)

  • Vue version:
  • ElementUI version:
  • vue-ele-form version: 0.8.25

closed time in 4 days

osm-tech

issue closeddream2023/vue-ele-form

type: 'select', options function+fetch 配合集联,选项显示不了或者延后

复现代码

formDesc: {
        title: {
          type: 'select',
          label: '标题',
          options: ['ask', 'share']
        },
        select: {
          type: 'select',
          label: '地址',
          isReloadOptions: true,
          options: () => {
            return this.getOptions()
          }
        }
      }
    }

async getOptions () {
      const result = await fetch('https://cnodejs.org/api/v1/topics?tab=' + this.formData.title)
        .then(function (res) {
          return res.json()
        }).then((resOptions) => {
          let options = []
          resOptions.data.forEach(item => {
            options.push({ value: item.id, text: `${item.tab}--${item.title}` })
          })
          return options
        })
      return result
    }

需求:第一个选择框改变,触发第二个选择框的options,重新更新第二个选择框的选项 bug现象:1. 第一次改变选择框的时候第二个选择框没有显示数据。 2.第二及第二次以后改变第一个选择框,第二个选择框的选项延后显示。

closed time in 4 days

liangwenle

issue commentdream2023/vue-ele-form

type: 'select', options function+fetch 配合集联,选项显示不了或者延后

已解决:https://www.yuque.com/chaojie-vjiel/vbwzgu/rgenav#QWGTm

liangwenle

comment created time in 4 days

issue closeddream2023/vue-ele-form

select option为API时,初始化表单会触发表单验证

<!-- 注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。

Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.

-->

Bug report(问题描述)

select option为API时,初始化表单会触发表单验证

Steps to reproduce(问题复现步骤)

"formDesc":{ "value":{ "title":{ "label":"取消退费", "type":"input", "required":true }, "test":{ "options":"http://localhost:3000/optionList", "label":"远程选择器", "type":"select" } } },

<ele-form :options-fn="$axios.get" :formDesc="formDesc" v-model="formData" :request-fn="handleRequest" @request-success="handleRequestSuccess" > </ele-form> <!--

  1. [xxx]
  2. [xxx]
  3. [xxxx] -->

Screenshot or Gif(截图或动态图)

GIF 2020-4-10 17-13-09

Link to minimal reproduction(最小可在线还原demo)

<!-- Please only use Codepen, JSFiddle, CodeSandbox or a github repo -->

Other relevant information(格外信息)

  • Vue version: 2.5.17
  • ElementUI version: 2.12.0
  • vue-ele-form version: 0.8.24

closed time in 4 days

HackZZ

issue commentdream2023/vue-ele-form

select option为API时,初始化表单会触发表单验证

已解决 https://www.yuque.com/chaojie-vjiel/vbwzgu/rgenav#QWGTm

HackZZ

comment created time in 4 days

issue closeddream2023/vue-ele-form

select options 联动函数返回Promise时不能正常设置选项值

Bug report(问题描述)

options 当联动函数返回Promise时 只要当Promise返回的是个空数组时,后续的接口请求值第一次均无法被设置到选项上,只有当options函数第二次调用并有返回值时才能设置上值

Steps to reproduce(问题复现步骤)

formDesc: { codeA: { label: "codeA", type: "select", options: [ { value: "1", text: "1" }, { value: "2", text: "2" } ] }, codeB: { label: "codeA", type: "select", isReloadOptions: true, options: data => { if (data.codeA === "2") { return Promise.resolve([]); } else { return Promise.resolve([{ value: "3", text: "3" }]); } } } }

Other relevant information(格外信息)

  • Vue version:
  • ElementUI version: 2.13
  • vue-ele-form version: 0.8.24

closed time in 4 days

zblongfei

issue commentdream2023/vue-ele-form

select options 联动函数返回Promise时不能正常设置选项值

已解决,请看文档:https://www.yuque.com/chaojie-vjiel/vbwzgu/rgenav#QWGTm

zblongfei

comment created time in 4 days

issue closeddream2023/vue-ele-form

单一页面有多个options使用Promise 对象时,会触发多次请求

Bug report(问题描述)

最新版单一页面有多个options使用Promise 对象时,会触发多次请求

Steps to reproduce(问题复现步骤)

<ele-form-section v-model="formData" :sections="formDesc" :request-fn="handleRequest" submitBtnText="下一步" :labelPosition="labelPosition" :isLoading="isLoading" :options-fn="http.get" @request-success="handleRequestSuccess" >

formDesc: { headBankCode: { options: '/mpc/yeb/bank?is_main=1', label: "开户银行编码", type: "select", required: true, attrs:{ 'filterable': true, 'remote': true, } }, bankAddress: { default: [], options: '/mpc/yeb/region', label: "开户行地址", type: "cascader", required: true }, bankCode: { options: '/mpc/yeb/bank', label: "开户银行支行编码", type: "select", required: true } }

Other relevant information(格外信息)

  • Vue version:
  • ElementUI version: 2.13
  • vue-ele-form version:0.8.22

closed time in 4 days

xzusoft

issue commentdream2023/vue-ele-form

单一页面有多个options使用Promise 对象时,会触发多次请求

已解决,请看文档:https://www.yuque.com/chaojie-vjiel/vbwzgu/rgenav#QWGTm

xzusoft

comment created time in 4 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha 208249c6276453837f7a677d98811f40369fc0d9

chore(release): 0.8.27

view details

push time in 4 days

delete branch dream2023/vue-ele-form

delete branch : refactor/remove-deep

delete time in 4 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha 2e823847fec7660db9fac677f5b72b4c5effbcdc

fix: 删除深度formDesc

view details

zhangchaojie

commit sha fe2ca30033c991ba62aa4921a18dd37261eb60bf

fix: 修复 options BUG

view details

zhangchaojie

commit sha ae5e03556b88ebe987fb4dea1465350068fa28f3

fix: 修复扩展组件相关BUG

view details

zhangchaojie

commit sha 03f95678c506161a4a1ae1f690009817a421c47c

chore: 升级依赖

view details

zhangchaojie

commit sha 40fa19ec860f4796490a40e775ac141936591b06

fix: 修改默认值BUG

view details

zhangchaojie

commit sha e715047737ab2ebbd7058dbc82d4f3ecf2f59d57

fix: 删除深度formDesc fix: 修复 options BUG fix: 修复扩展组件相关BUG chore: 升级依赖 fix: 修改默认值BUG

view details

zhangchaojie

commit sha 900265a7c2803f63eb4277794db19244cbcbda36

Merge branch 'refactor/remove-deep' of github.com:dream2023/vue-ele-form into refactor/remove-deep

view details

zhangchaojie

commit sha 91ee0136ad410e594cf3657929c4a949a14c2caa

fix: 修复options相关BUG

view details

超杰

commit sha 9a264e11b570e03883e0761f42f0cfde750508db

Merge pull request #65 from dream2023/refactor/remove-deep fix: 删除深度formDesc

view details

push time in 4 days

PR merged dream2023/vue-ele-form

fix: 删除深度formDesc

fix: 修复 options BUG

fix: 修复扩展组件相关BUG

chore: 升级依赖

fix: 修改默认值BUG

+2127 -2253

1 comment

14 changed files

dream2023

pr closed time in 4 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha 2e823847fec7660db9fac677f5b72b4c5effbcdc

fix: 删除深度formDesc

view details

zhangchaojie

commit sha fe2ca30033c991ba62aa4921a18dd37261eb60bf

fix: 修复 options BUG

view details

zhangchaojie

commit sha ae5e03556b88ebe987fb4dea1465350068fa28f3

fix: 修复扩展组件相关BUG

view details

zhangchaojie

commit sha 03f95678c506161a4a1ae1f690009817a421c47c

chore: 升级依赖

view details

zhangchaojie

commit sha 40fa19ec860f4796490a40e775ac141936591b06

fix: 修改默认值BUG

view details

zhangchaojie

commit sha 900265a7c2803f63eb4277794db19244cbcbda36

Merge branch 'refactor/remove-deep' of github.com:dream2023/vue-ele-form into refactor/remove-deep

view details

zhangchaojie

commit sha 91ee0136ad410e594cf3657929c4a949a14c2caa

fix: 修复options相关BUG

view details

push time in 4 days

PR opened dream2023/vue-ele-form

fix: 删除深度formDesc

fix: 修复 options BUG

fix: 修复扩展组件相关BUG

chore: 升级依赖

fix: 修改默认值BUG

+2115 -2252

0 comment

14 changed files

pr created time in 4 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha e715047737ab2ebbd7058dbc82d4f3ecf2f59d57

fix: 删除深度formDesc fix: 修复 options BUG fix: 修复扩展组件相关BUG chore: 升级依赖 fix: 修改默认值BUG

view details

push time in 4 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha 40fa19ec860f4796490a40e775ac141936591b06

fix: 修改默认值BUG

view details

push time in 4 days

issue commentdream2023/vue-ele-form

表单载入默认数据

看文档,https://www.yuque.com/chaojie-vjiel/vbwzgu/dyw8a7#b2AbF

xu4wang

comment created time in 4 days

issue closeddream2023/vue-ele-form

表单载入默认数据

请问下,可以给表单载入默认数据吗?

例如在最初展示表单时候,对于每一个text,selection等,都从服务器获取的json文件中初始化成默认值,然后用户可以在这个基础上编辑。

谢谢。

closed time in 4 days

xu4wang

issue closeddream2023/vue-ele-form

有没有计划支持antd vue?

有没有计划支持antd vue?

closed time in 4 days

CharlesSong

issue commentdream2023/vue-ele-form

有没有计划支持antd vue?

已经在做另一个组件了,此组件暂时不做支持了

CharlesSong

comment created time in 4 days

issue closeddream2023/vue-ele-form

自有组件中使 用用 ele-form-dialog 组件,加载数据为什么不显示

自有组件中使 用用 ele-form-dialog 组件,加载数据为什么不显示,当更新一项时,其他数值就都显示了?? 下面是第一种赋值方法:       const keyArr = Object.keys(this.newColumnValue)       keyArr.map(item => {         this.$set(this.formData, item, this.newColumnValue[item])       }) 第二种:Object.assign({},this.formData, this.newColumnValue) 第三种:this.formData = row

以上三种方法都不能更新视图。 当点击增加或修改时,是先显示出来ele-form-dialog 组件,后变化的ele-form-dialog 组件的formData性情?

closed time in 4 days

bater006

issue commentdream2023/vue-ele-form

建议uploadMixin添加headers

已解决

coocat

comment created time in 4 days

issue closeddream2023/vue-ele-form

建议uploadMixin添加headers

Feature request(新功能建议)

image 目前没有加上headers

closed time in 4 days

coocat

issue closeddream2023/vue-ele-form

Element UI 2.11集成出现提交表单参数为空

Other relevant information(格外信息)

  • Vue version:
  • ElementUI version:2.11

closed time in 4 days

zddghost

issue closeddream2023/vue-ele-form

能不能直接在浏览器中用 不用cli创建vue项目

文档里只看到node环境中的用法,没看到浏览器环境中直接用的使用说明。

closed time in 4 days

cos800

issue commentdream2023/vue-ele-form

能不能直接在浏览器中用 不用cli创建vue项目

文档有写:https://www.yuque.com/chaojie-vjiel/vbwzgu/xl46cd#JjgMZ

cos800

comment created time in 4 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha 03f95678c506161a4a1ae1f690009817a421c47c

chore: 升级依赖

view details

push time in 4 days

issue commentdream2023/vue-ele-form

请问怎么关掉 对json数据的自动排序功能

因为数据结构目前是对象的,排序不收控制,不过我还没遇到过乱的情况,能否提供一下

Annfyl

comment created time in 4 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha ae5e03556b88ebe987fb4dea1465350068fa28f3

fix: 修复扩展组件相关BUG

view details

push time in 4 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha fe2ca30033c991ba62aa4921a18dd37261eb60bf

fix: 修复 options BUG

view details

push time in 4 days

create barnchdream2023/vue-ele-form

branch : refactor/remove-deep

created branch time in 4 days

startedcmiscm/leonsans

started time in 8 days

startedlabuladong/fucking-algorithm

started time in 8 days

startedanuraghazra/github-readme-stats

started time in 8 days

startedremoteintech/remote-jobs

started time in 12 days

startedjitsi/jitsi-meet

started time in 12 days

startedWordPress/gutenberg

started time in 12 days

push eventdream2023/vue-ele-form-generator

dream2023

commit sha 829d7a20916949282c09d2689fa58efb14512453

Automated deployment: Thu Jul 16 13:32:43 UTC 2020 84756a6fbf0586fc35c9728ab0aa63393d3d7dee

view details

push time in 19 days

push eventdream2023/vue-ele-form-generator

zhangchaojie

commit sha 31ca5c282d57692a5c89b90cef0a46d4666b9d2d

feat: 正则表达式校检不正确

view details

zhangchaojie

commit sha 84756a6fbf0586fc35c9728ab0aa63393d3d7dee

Merge branch 'master' of https://github.com/dream2023/vue-ele-form-generator

view details

push time in 19 days

push eventdream2023/vue-ele-form

zhangchaojie

commit sha d359a2ff4bd8b512a837a5a8fc56ef8372037162

feat: 新增time-picker组件

view details

zhangchaojie

commit sha 87145748e5477f99315276ba3a516952db9a955d

chore(release): 0.8.26

view details

push time in 19 days

created tagdream2023/vue-ele-form

tagv0.8.26

基于element-ui的数据驱动表单组件

created time in 19 days

startedtiangolo/fastapi

started time in 22 days

startedterjanq/Tiny-XSS-Payloads

started time in 22 days

startedflipped-aurora/gin-vue-admin

started time in 22 days

startedmanikandanraji/youtubeclone-frontend

started time in 22 days

started521xueweihan/HelloGitHub

started time in 24 days

startedeclipse-theia/theia

started time in a month

startedtheia-ide/theia-apps

started time in a month

starteddipeshpatil/algorithms-visualiser

started time in a month

startedanswershuto/learnVue

started time in a month

startedchenquincy/vue-dynamic-form-component

started time in 2 months

push eventdream2023/ms

zhangchaojie

commit sha ed1d0db754353136481146d7919fe08fb9cccd37

fix: tests.js isNaN => Number.isNaN

view details

push time in 2 months

startedfullcalendar/fullcalendar

started time in 2 months

startedsaurabhdaware/text-to-handwriting

started time in 2 months

startedxrr2016/Interview-experience-share

started time in 2 months

issue commentdream2023/vue-ele-form-generator

希望能支持移动端排版

你想窄了,实际上ToB项目很多要在手机上操作的。比如走流程审批,一般都是表单引擎配合工作流引擎,手机电脑上各搞一套。钉钉的表单就是专门给手机操作的,毕竟是移动办公时代了。

理解

YiuTerran

comment created time in 2 months

issue commentdream2023/vue-ele-form-generator

希望能支持移动端排版

一般管理系统需要手机登录吗?我个人觉得应该不需要吧?

YiuTerran

comment created time in 2 months

PR opened denoland/deno

feat(std/fs/read_json): Make it a generic function

// Type assertions

import { readJsonSync } from "https://deno.land/std/fs/read_json.ts";

interface DB {
  [index: string]: {
    source?: "string";
    charset?: "string";
    compressible?: boolean;
    extensions?: string[];
  };
}

const db = (readJsonSync("./db.json") as DB); # Type assertions
console.log(db.source);

// generic function

import { readJsonSync } from "https://deno.land/std/fs/read_json.ts";

interface DB {
  [index: string]: {
    source?: "string";
    charset?: "string";
    compressible?: boolean;
    extensions?: string[];
  };
}

const db =readJsonSync<DB>("./db.json")  # generic function
console.log(db.source);

I think it's better this way

+2 -2

0 comment

1 changed file

pr created time in 2 months

create barnchdream2023/deno

branch : std/read_json

created branch time in 2 months

push eventdream2023/ms

超杰

commit sha 122fd6e9eef8db99410ac59f4bb464f3cdbc06d7

Update index.js

view details

push time in 3 months

issue closeddream2023/vue-ele-form-generator

希望加一个颜色的功能

就是表单可以加背景颜色,或者图片的功能

closed time in 3 months

wocswang

issue closeddream2023/vue-ele-form-generator

【bug】生成的“上传图片控件”报错

版本信息

  • vue:2.6.1
  • vue-ele-form: 0.8.25

我的代码

<template>
  <div class="home">
    <ele-form
      :formDesc="formDesc"
      v-model="formData"
      :request-fn="handleRequest"
      @request-success="handleRequestSuccess"
    ></ele-form>
  </div>
</template>

<script lang="ts">
// @ is an alias to /src
import Vue from 'vue'
import Component from 'vue-class-component'

@Component({})
export default class Home extends Vue {
    formData = {}
    formDesc = {
      account: {
        label: "账户名称",
        type: "input",
        required: true
      },
      icon: {
        label: "上传图标",
        type: "image-uploader",
        attrs: {
          name: "dsdsds",
          drag: true,
          fileType: [],
          action: "https:\u002F\u002Fwww.mocky.io\u002Fv2\u002F5cc8019d300000980a055e76"
        }
      },
    }
    
    handleRequest (data: string) {
      console.log(data)
      return Promise.resolve()
    }
    handleRequestSuccess () {
      this.$message.success('发送成功')
    }
}
</script>

报错

image

closed time in 3 months

renmu123

issue commentdream2023/vue-ele-form-generator

【bug】生成的“上传图片控件”报错

https://www.yuque.com/chaojie-vjiel/vbwzgu/inlpxy

renmu123

comment created time in 3 months

PR opened zeit/ms

fix: should return NaN if invalid

I don't know if the test case is wrong or the code is wrong,the test cases are as follows:

  it("should return NaN if invalid", function () {
    expect(isNaN(ms("☃"))).to.be(true);
    expect(isNaN(ms("10-.5"))).to.be(true);
  });

Because the value returned by the ms is undefined and the value of isNaN(undefined) is true, the test case passed.

So one of the test cases or code is wrong.

+2 -2

0 comment

1 changed file

pr created time in 3 months

push eventdream2023/ms

超杰

commit sha dd83add8b2522ed02cf606d55e14c23e5833f367

fix: should return NaN if invalid it("should return NaN if invalid", function () { expect(isNaN(ms("☃"))).to.be(true); expect(isNaN(ms("10-.5"))).to.be(true); });

view details

push time in 3 months

fork dream2023/ms

Tiny milisecond conversion utility

https://npmjs.com/ms

fork in 3 months

push eventdream2023/blog

zhangchaojie

commit sha 650077db8dddd50ac5ca3837d18475f666b9f94f

feat: 整理文章

view details

push time in 3 months

push eventdream2023/blog

zhangchaojie

commit sha 4cb69f89fed137c4cbb95fa6b63e69fee033bc0e

feat: 增加 deno 相关文档

view details

zhangchaojie

commit sha bf7abb9e7c0d3182c88288c789d7a6d0ce9d64f9

Merge branch 'master' of github.com:dream2023/blog

view details

push time in 3 months

GollumEvent
GollumEvent
GollumEvent

push eventdream2023/vue-ele-form-generator

dream2023

commit sha 03056edc591c1188862a5033d0b7bdbfd91ffa15

Automated deployment: Sun May 17 14:02:08 UTC 2020 237b5b404a31297eaf5a41aa6da3847ac71dfa8d

view details

push time in 3 months

push eventdream2023/vue-ele-form-generator

超杰

commit sha 237b5b404a31297eaf5a41aa6da3847ac71dfa8d

Update main.yml

view details

push time in 3 months

push eventdream2023/vue-ele-form-generator

zhangchaojie

commit sha 240c66998418bd0068e8c78e1b0b945245a4e37c

feat: 增加 Dockerfile

view details

push time in 3 months

GollumEvent
GollumEvent

push eventdream2023/vue-ele-form-generator

dream2023

commit sha 952900943748c8e3cd8734ed1104cd93b12b8044

Automated deployment: Sun May 17 13:11:11 UTC 2020 47b50788b25d2fcb62d480556a8f7a8b05a8913a

view details

push time in 3 months

push eventdream2023/vue-ele-form-generator

zhangchaojie

commit sha cff5ce40f1abe25d3501f314f360adbb8d0effb5

feat: 将 ts & composition api 改为vue2

view details

zhangchaojie

commit sha 47b50788b25d2fcb62d480556a8f7a8b05a8913a

chore(release): 3.1.0

view details

push time in 3 months

created tagdream2023/vue-ele-form-generator

tagv3.1.0

vue-ele-form-generator是专为vue-ele-form开发的可视化表单设计工具, 让表单开发的效率更上一层楼

created time in 3 months

push eventdream2023/vue-ele-form-json-editor

zhangchaojie

commit sha 41b0a49c9202e2b1b0e8e49b569b19e7735a4f85

feat: 升级依赖

view details

push time in 3 months

issue commentdream2023/ele-table-editor

删除行再新增行会记录之前删除行的状态

你可以尝试看一下源码解决一下

lwcmgowl

comment created time in 3 months

started201206030/novel-plus

started time in 3 months

push eventdream2023/awesome-lesscode

张超杰

commit sha 2c302517b3f7e4c7c9c95154a6a78edb25c6a9ec

feat(wix): 增加 wix

view details

push time in 3 months

PublicEvent

push eventdream2023/test

zhangchaojie

commit sha bcb872d67de0c6ed76791f9d1f312590ae1a566b

feat: 增加 Nginx 配置

view details

push time in 3 months

more