refactor(front): 重构前端组件并优化代码
- 移除了多个无用的组件和文件 - 更新了部分组件的实现方式 - 优化了代码结构和样式 - 修复了CuteSimpleTable、CuteDragTable组件,在无数据时,数据表格不刷新问题
This commit is contained in:
@@ -40,12 +40,6 @@ export default {
|
||||
options: []
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
// 监听users变量
|
||||
users(newValue) {
|
||||
this.$emit('input', newValue)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
remoteMethod(query) {
|
||||
if (query !== '') {
|
||||
@@ -66,7 +60,6 @@ export default {
|
||||
},
|
||||
onChange(value) {
|
||||
this.$emit('change', value)
|
||||
this.$emit('input', value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user