diff --git a/package.json b/package.json
index 3e3fd04..b15b895 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "front-next-vue3",
- "version": "0.1.2",
+ "version": "0.1.3",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
diff --git a/public/favicon.ico b/public/favicon.ico
index df36fcf..0b823a3 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/public/index.html b/public/index.html
index 3e5a139..96a8f86 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,17 +1,99 @@
-
-
-
-
-
-
- <%= htmlWebpackPlugin.options.title %>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ COOL-ADMIN
+ <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
+
+ <% } %>
+
+
+
+
+
+
+
+
COOL-ADMIN
+
正在加载资源...
+
初次加载资源可能需要较多时间 请耐心等待
+
+
+
+
+
+
+ <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
+
+ <% } %>
+
+
\ No newline at end of file
diff --git a/src/cool/modules/copy/directives/index.ts b/src/cool/modules/copy/directives/index.ts
index 08a88c8..ed2bfac 100644
--- a/src/cool/modules/copy/directives/index.ts
+++ b/src/cool/modules/copy/directives/index.ts
@@ -18,11 +18,12 @@ function copyboard() {
copyboard();
export default {
- inserted: (el: HTMLElement, binding: any) => {
+ mounted: (el: HTMLElement, binding: any) => {
el.className = el.className + " _copy-btn";
el.setAttribute("data-clipboard-text", binding.value);
},
- update: (el: HTMLElement, binding: any) => {
+ beforeUpdate: (el: HTMLElement, binding: any) => {
+ console.log(el);
el.setAttribute("data-clipboard-text", binding.value);
}
};
diff --git a/src/cool/modules/demo/views/crud/adv-search.vue b/src/cool/modules/demo/components/crud/adv-search.vue
similarity index 100%
rename from src/cool/modules/demo/views/crud/adv-search.vue
rename to src/cool/modules/demo/components/crud/adv-search.vue
diff --git a/src/cool/modules/demo/views/crud/context-menu.vue b/src/cool/modules/demo/components/crud/context-menu.vue
similarity index 100%
rename from src/cool/modules/demo/views/crud/context-menu.vue
rename to src/cool/modules/demo/components/crud/context-menu.vue
diff --git a/src/cool/modules/demo/views/crud/dialog.vue b/src/cool/modules/demo/components/crud/dialog.vue
similarity index 100%
rename from src/cool/modules/demo/views/crud/dialog.vue
rename to src/cool/modules/demo/components/crud/dialog.vue
diff --git a/src/cool/modules/demo/views/crud/form.vue b/src/cool/modules/demo/components/crud/form.vue
similarity index 99%
rename from src/cool/modules/demo/views/crud/form.vue
rename to src/cool/modules/demo/components/crud/form.vue
index 06ac68d..f0b4c08 100644
--- a/src/cool/modules/demo/views/crud/form.vue
+++ b/src/cool/modules/demo/components/crud/form.vue
@@ -50,7 +50,7 @@