Skip to content
#

element

Here are 292 public repositories matching this topic...

jackiehe
jackiehe commented Aug 30, 2019

当表单提交时,如果有错误,会显示一个错误提示框!这个框有两个问题。

  1. 如果没有注册 全局方法 $notify , 后台开发人员工具会提示错误警告,前台看不到提示弹出框。采用按需加载element组件时, 需要手动注册
    Vue.component(Notification)
    Vue.prototype.$notify = Notification;
    2, 弹出的对话框,标题title固定死了 '表单填写错误',还是中文的! 建议去掉,或者可以在外面自定义设置。
  2. 建议vue-ele-form固定的地方都搞成自定义,不太方便的话,内部使用的话,请用英文!
    我的QQ 2810923 微信 13986759836

参考代码如下:
EleForm.vue
// 显示错误
showError (messageArr) {
if (mess

ahojukka5
ahojukka5 commented Sep 16, 2019
add_element!(mesh, elid, eltype, connectivity)
Add an element into the mesh. ´elid´ is the element id, ´eltype´ is the type of the element and ´connectivity´ is the connectivity of the element.

At least eltype needs to be defined more precisely. I guess it's a symbol :Seg2, :Tri3 and so on.

Loading…
You can’t perform that action at this time.