diff --git a/fite.config.js b/fite.config.js
index a67e533..a41b184 100644
--- a/fite.config.js
+++ b/fite.config.js
@@ -27,6 +27,7 @@ export default {
// 有用到其他的库, 可以手动添加,
// 也可以在页面中直接引入完整的路径, 而不必须在这里声明
imports: {
+ 'es.shim': '//jscdn.ink/es.shim/latest/index.js',
vue: '//jscdn.ink/vue/3.2.47/vue.runtime.esm-browser.prod.js',
wkit: '//jscdn.ink/wkit/latest/index.js',
'@bd/core': '//jscdn.ink/wkit/latest/index.js',
diff --git a/index.html b/index.html
index ce5af8e..cf2767c 100644
--- a/index.html
+++ b/index.html
@@ -7,8 +7,8 @@
{{title}}
-
-
+
+
diff --git a/src/lib/db/index.js b/src/lib/db/index.js
new file mode 100644
index 0000000..eed808e
--- /dev/null
+++ b/src/lib/db/index.js
@@ -0,0 +1,18 @@
+/**
+ * {indexdb储存}
+ * @author yutent
+ * @date 2023/05/29 18:33:42
+ */
+
+export function getStore(name) {
+ let req = window.indexedDB.open(name)
+ let _ = defer()
+
+ req.addEventListener('success', ev => {
+ _.resolve(ev.target.result)
+ })
+ req.addEventListener('error', ev => {
+ _.reject(ev.target.result.error)
+ })
+ return _.promise
+}
diff --git a/src/main.js b/src/main.js
index 9282717..9d59aec 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,3 +1,11 @@
+/**
+ * {}
+ * @author yutent
+ * @date 2023/05/29 18:36:30
+ */
+
+import 'es.shim'
+
import { createApp } from 'vue'
import App from './app.vue'