Browse Source

feat: remove console

main
xingyu 2 years ago
parent
commit
3548ba004c
  1. 1
      src/utils/dict.ts
  2. 1
      src/views/system/notify/my/index.vue
  3. 1
      src/views/system/notify/template/index.vue

1
src/utils/dict.ts

@ -53,7 +53,6 @@ export function getDictOpts(dictType: string) {
export function getDictOptions(dictType: string, valueType?: 'string' | 'number' | 'boolean') { export function getDictOptions(dictType: string, valueType?: 'string' | 'number' | 'boolean') {
const dictOption: DictDataType[] = [] const dictOption: DictDataType[] = []
const dictOptions: DictDataType[] = getDictDatas(dictType) const dictOptions: DictDataType[] = getDictDatas(dictType)
console.log(dictOptions)
if (dictOptions && dictOptions.length > 0) { if (dictOptions && dictOptions.length > 0) {
dictOptions.forEach((dict: DictDataType) => { dictOptions.forEach((dict: DictDataType) => {
dictOption.push({ dictOption.push({

1
src/views/system/notify/my/index.vue

@ -117,7 +117,6 @@ async function handleUpdateAll() {
} }
const handleInfo = (record: any) => { const handleInfo = (record: any) => {
console.log(JSON.stringify(record, Object.keys(record), 2))
openModal(true, record) openModal(true, record)
} }
</script> </script>

1
src/views/system/notify/template/index.vue

@ -85,7 +85,6 @@ function handleEdit(record: Recordable) {
} }
function handleSend(record: Recordable) { function handleSend(record: Recordable) {
console.log(JSON.stringify(record, [...Object.keys(record)], 2))
openSendModal(true, record) openSendModal(true, record)
} }