Commit 8783ecf5 authored by 何虹's avatar 何虹 💬

优化表格

parent 15a80e79
......@@ -28,7 +28,7 @@
:filterable="configData.filterable"
:remote="configData.remote"
:remote-method="remoteMethod_"
:placeholder="configData.placeholder"
placeholder=""
>
<el-option
v-for="item in options_"
......
......@@ -246,8 +246,9 @@ export default {
},
computed: {
// 为什么加这个 因为有变态需求是列表上要修改, 原本是列表上一律不允许修改 Editable
isEditable() {// 是否可编辑
isEditable() { // 是否可编辑
const editable = this.$attrs.editable
debugger
if (editable) {
return false
} else {
......
......@@ -186,7 +186,7 @@ export default {
type: Function
},
editable: {
default: 'list'
default: false
},
// 数据
data: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment