Open bunnyxt opened 1 year ago
Nov 9
Updates
refactor/vue3
v16.13.2
vue-wechat-title
AppNew
as the temp root app for testNext
vue-router
firstvue-wechat-title
works or not, find substitutes if not works any moreNov 24
Updates
plugin:vue/essential
-> plugin:vue/vue3-recommended
:key
property on template
of v-for
(vue3 new rule)vuex
to v4Vue.prototype.$util
-> app.config.globalProperties.$util
(vue3 new syntax)Vue.prototype.$config
-> app.config.globalProperties.$config
(vue3 new syntax)vue-i18n
to v9, add @intlify/vite-plugin-vue-i18n
to use i18n
blocka.hasOwnProperty(b)
-> Object.prototype.hasOwnProperty(a, b)
vue-router
to v4Next
router.js
-> router/index.js
user system check
in main.js
config
load from .env
util
refactor to utils
, do not mount it to app.config.globalProperties.$util
, import from utils
directlyDec 21
Updates
router.js
-> router/index.js
this.$i18n.locale
i18n
tag to i18n-t
and change property path
to keypath
slot="xx" slot-scope="yy"
-> #xx="yy"
a-icon
Next
this.
in the template<img />
-> <img >
Dec 23
Updates
<img />
-> <img >
Dec 24
Updates
VueRecaptcha
instead of VueGrecaptcha
a-menu
): v-model
-> v-model:selectedKeys
a-modal
): v-model
-> v-model:visible
a-radio-group
): v-model
-> v-model:value
a-checkbox-group
): v-model
-> v-model:value
a-select
): v-model
-> v-model:value
a-input
): v-model
-> v-model:value
v-model
: (a-range-picker
, a-textarea
, a-auto-complete
, a-pagination
)a-week-picker
-> a-date-picker picker="week"
vue-wechat-title
, custom naive wechat-title
directiveJan 6
Updates
TddVideoAbidAutoComplete
using vue3 custom v-model and antdv3 auto completea-list
<template #renderItem="item">
-> <template #renderItem="{ item }">
Next
let that = this
, using () => {}
in callback functionsJan 7
Updates
a-table
use #bodyCell
to custom table cell render
TddDonateLogList
TddMemberLogTable
Jan 27
Updates
TddStatistics
componentTddDonateLogList
Jan 28
Updates
TddUpdateLogList
TddIntro
referece: