diff --git a/frontend/components/comments/index.vue b/frontend/components/comments/index.vue index 49481441..e255e9a5 100644 --- a/frontend/components/comments/index.vue +++ b/frontend/components/comments/index.vue @@ -1,58 +1,73 @@ \ No newline at end of file + useState('clearDataAfterCloseComment').value = true + } catch (e) { + console.log(e) + } finally { + disabled.value = false /*جواب درخواست ما هرچی که باشه درانتها هر چی که باشه دکمه از حالت disable در میاد*/ + } +} +const params = reactive({ + isLogin: useAuth().isLogin(), +}) + diff --git a/frontend/components/comments/item.vue b/frontend/components/comments/item.vue index e69de29b..d776c1fd 100644 --- a/frontend/components/comments/item.vue +++ b/frontend/components/comments/item.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/frontend/components/comments/writeNew.vue b/frontend/components/comments/writeNew.vue new file mode 100644 index 00000000..a55122da --- /dev/null +++ b/frontend/components/comments/writeNew.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/frontend/pages/articles/[uuid].vue b/frontend/pages/articles/[uuid].vue index 19f94f86..9caf7dac 100644 --- a/frontend/pages/articles/[uuid].vue +++ b/frontend/pages/articles/[uuid].vue @@ -22,14 +22,12 @@
{{ tag }}
- -