x-extends/vxe-utils
Fork: 4 Star: 7 (更新于 2024-11-03 00:39:57)
license: MIT
Language: JavaScript .
🌵 用于 Vue 全局安装 xe-utils
最后发布版本: 2.0.1 ( 2020-09-10 18:54:22)
vxe-utils
用于 Vue 全局安装 xe-utils
Installing
npm install xe-utils vxe-utils
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://cdn.jsdelivr.net/npm/xe-utils"></script>
<script src="https://cdn.jsdelivr.net/npm/vxe-utils"></script>
Example
import Vue from 'vue'
import XEUtils from 'xe-utils'
import VXEUtils from 'vxe-utils'
Vue.use(VXEUtils, XEUtils, { mounts: ['cookie'] })
<template>
<h1>{{ userName }}</h1>
<div>{{ $utils.toDateString(startDate, 'yyyy-dd-MM HH:mm:ss') }}</div>
<div>{{ endDate }}</div>
</template>
<script>
export default {
data () {
return {
userName: null,
startDate: new Date(),
endDate: null
}
},
created () {
this.userName = this.$cookie('U_NAME')
this.endDate = this.$utils.toDateString(new Date(), 'MM/dd/yyyy HH:mm:ss.SSS')
}
}
</script>
License
MIT © 2017-present, Xu Liangzhan
最近版本更新:(数据更新于 2024-09-12 10:39:52)
2020-09-10 18:54:22 2.0.1
2020-06-26 17:11:45 2.0.0
2020-05-23 18:08:34 1.9.3
2020-05-23 18:08:19 1.9.2
2020-05-23 18:08:05 1.9.1
2020-05-23 18:07:52 1.9.0
2019-12-22 16:06:41 1.8.0
2019-08-30 23:45:04 1.7.2
2019-08-24 15:23:25 1.7.1
2019-08-23 19:44:35 1.7.0
主题(topics):
xe-utils
x-extends/vxe-utils同语言 JavaScript最近更新仓库
2024-11-22 16:46:00 meshery/meshery
2024-11-21 23:03:24 bia-pain-bache/BPB-Worker-Panel
2024-11-21 22:46:48 MHSanaei/3x-ui
2024-11-21 07:00:59 nodejs/node
2024-11-21 00:49:46 FortAwesome/Font-Awesome
2024-11-18 14:26:02 projectdiscovery/nuclei-templates