fix : 移除输出log

This commit is contained in:
2024-06-21 13:02:55 +08:00
parent ddc305297f
commit 9b758d41d0
30 changed files with 45 additions and 70 deletions

View File

@@ -66,7 +66,7 @@ const _value = computed({
return props.value;
},
set(val) {
console.log(val,"组件")
// console.log(val,"组件")
emit("update:value", val);
}
})
@@ -76,7 +76,7 @@ const chinese = computed(()=>{
})
const convertCurrency = (money) => {
console.log("zhuanhuan ",money)
// console.log("zhuanhuan ",money)
//汉字的数字
const cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
//基本单位

View File

@@ -187,7 +187,7 @@ const getMinWidth = (col) => {
}
}
const showError = (col, val) => {
console.log('showError', val)
// console.log('showError', val)
if (col.props.required) {
switch (col.valueType) {
case ValueType.dept:
@@ -208,7 +208,7 @@ const delRow = (i) => {
_value.value.splice(i, 1)
}
const addRow = () => {
console.log('添加', props.maxSize, _value.value)
// console.log('添加', props.maxSize, _value.value)
if (props.maxSize > 0 && _value.value.length >= props.maxSize) {
console.log('限制大小')
ElMessage.warning(`最多只能添加${props.maxSize}`)

View File

@@ -79,7 +79,7 @@ const chooseUser=()=>{
userPicker.value.showUserPicker()
}
watch(() => props.perm, (newVal, oldVal) => {
console.log('newVal',newVal,userPicker.value)
// console.log('newVal',newVal,userPicker.value)
});
const selected = (select) => {
@@ -93,7 +93,7 @@ const selected = (select) => {
userInfoList.push(userInfo)
}
userList.value = userInfoList
console.log('select',userList.value)
// console.log('select',userList.value)
}
const delDept = (i) => {
userList.value.splice(i, 1)

View File

@@ -38,7 +38,7 @@ export default {
}
},
created() {
console.log("出发了",this.value.placeholder,!this.value.placeholder)
// console.log("出发了",this.value.placeholder,!this.value.placeholder)
if (undefined !== this.value.placeholder){
this.placeholder = this.value.placeholder
}else {