Skip to content

Commit

Permalink
updated some issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dipak Sarkar committed Sep 12, 2021
1 parent 7386a9a commit a8f9942
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/.vuepress/enhanceApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import Quasar from 'quasar'
import number from '../../src'
import number from '@coders-tm/vue-number-format'

import 'quasar/dist/quasar.min.css'
export default ({
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,7 @@
"publishConfig": {
"@coders-tm:registry": "https://npm.pkg.github.com"
},
"dependencies": {}
"dependencies": {
"@coders-tm/vue-number-format": "^1.0.1"
}
}
3 changes: 2 additions & 1 deletion src/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { NumberFormat, setCursor } from './utils'

export default function (el, binding) {
const { value } = binding
if (!value) return false
const config = Object.assign(options, value)
// console.log('src/components/directive:config', config)

Expand Down Expand Up @@ -76,4 +77,4 @@ export default function (el, binding) {
el.oninput()
el.dispatchEvent(new Event('input'))
el.dispatchEvent(new Event('change'))
}
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,11 @@
exec-sh "^0.3.2"
minimist "^1.2.0"

"@coders-tm/vue-number-format@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@coders-tm/vue-number-format/-/vue-number-format-1.0.1.tgz#4088de054f8c10943bf0147e126c0ec31795a91f"
integrity sha512-KFrK5oSfjpIWoH/+Lb6gKnDx1kjxVelcxtqdEs4MY+0T9wQz7ff22qKV1ZxmkuIVXiARaB0TETjcPn5p7JJGBg==

"@eslint/eslintrc@^0.4.3":
version "0.4.3"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c"
Expand Down

0 comments on commit a8f9942

Please sign in to comment.