mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
temp: disable operation synchronization before refactoring due to panic
This commit is contained in:
parent
ee79a2f309
commit
4b75aed9f6
7 changed files with 5045 additions and 9 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -47,7 +47,9 @@ jobs:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: |
|
||||||
|
corepack enable
|
||||||
|
yarn install
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
10
frontend/.gitignore
vendored
10
frontend/.gitignore
vendored
|
@ -13,7 +13,6 @@ dist
|
||||||
dist-ssr
|
dist-ssr
|
||||||
*.local
|
*.local
|
||||||
.yarn
|
.yarn
|
||||||
yarn.lock
|
|
||||||
cache
|
cache
|
||||||
|
|
||||||
# Editor directories and files
|
# Editor directories and files
|
||||||
|
@ -26,3 +25,12 @@ cache
|
||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
# Yarn
|
||||||
|
.pnp.*
|
||||||
|
.yarn/*
|
||||||
|
!.yarn/patches
|
||||||
|
!.yarn/plugins
|
||||||
|
!.yarn/releases
|
||||||
|
!.yarn/sdks
|
||||||
|
!.yarn/versions
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
nodeLinker: node-modules
|
nodeLinker: pnp
|
||||||
|
|
|
@ -12,21 +12,25 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons-vue": "^6.1.0",
|
"@ant-design/icons-vue": "^6.1.0",
|
||||||
"@formkit/auto-animate": "^1.0.0-beta.6",
|
"@formkit/auto-animate": "^0.8.0",
|
||||||
"@types/lodash": "^4.14.188",
|
"@types/lodash": "^4.14.188",
|
||||||
"@types/marked": "^4.0.8",
|
"@types/marked": "^4.0.8",
|
||||||
"@types/nprogress": "^0.2.0",
|
"@types/nprogress": "^0.2.0",
|
||||||
"@types/sortablejs": "^1.15.0",
|
"@types/sortablejs": "^1.15.0",
|
||||||
|
"@vue/reactivity": "^3.3.4",
|
||||||
|
"@vue/shared": "^3.3.4",
|
||||||
"ant-design-vue": "^3.2.17",
|
"ant-design-vue": "^3.2.17",
|
||||||
"apexcharts": "^3.36.3",
|
"apexcharts": "^3.36.3",
|
||||||
"axios": "^1.3.5",
|
"axios": "^1.3.5",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
"highlight.js": "^11.7.0",
|
"highlight.js": "^11.7.0",
|
||||||
|
"lodash": "^4.17.21",
|
||||||
"marked": "^4.2.5",
|
"marked": "^4.2.5",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"pinia": "^2.0.28",
|
"pinia": "^2.0.28",
|
||||||
"pinia-plugin-persistedstate": "^3.0.2",
|
"pinia-plugin-persistedstate": "^3.0.2",
|
||||||
"reconnecting-websocket": "^4.4.0",
|
"reconnecting-websocket": "^4.4.0",
|
||||||
|
"sortablejs": "^1.15.0",
|
||||||
"vite-plugin-build-id": "^0.2.3",
|
"vite-plugin-build-id": "^0.2.3",
|
||||||
"vue": "^3.2.47",
|
"vue": "^3.2.47",
|
||||||
"vue-github-button": "https://github.com/0xJacky/vue-github-button",
|
"vue-github-button": "https://github.com/0xJacky/vue-github-button",
|
||||||
|
@ -42,13 +46,16 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitejs/plugin-vue": "^4.2.1",
|
"@vitejs/plugin-vue": "^4.2.1",
|
||||||
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
||||||
|
"@vue/compiler-sfc": "^3.3.4",
|
||||||
"@zougt/vite-plugin-theme-preprocessor": "^1.4.8",
|
"@zougt/vite-plugin-theme-preprocessor": "^1.4.8",
|
||||||
|
"ace-builds": "^1.30.0",
|
||||||
"less": "^4.1.3",
|
"less": "^4.1.3",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.0.4",
|
||||||
"unplugin-vue-components": "^0.24.1",
|
"unplugin-vue-components": "^0.24.1",
|
||||||
"vite": "^4.4.4",
|
"vite": "^4.5.0",
|
||||||
"vite-plugin-html": "^3.2.0",
|
"vite-plugin-html": "^3.2.0",
|
||||||
"vite-svg-loader": "^4.0.0",
|
"vite-svg-loader": "^4.0.0",
|
||||||
"vue-tsc": "^1.6.1"
|
"vue-tsc": "^1.6.1"
|
||||||
}
|
},
|
||||||
|
"packageManager": "yarn@3.6.4"
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,9 +46,9 @@ const columns = [{
|
||||||
customRender: (args: customRender) => {
|
customRender: (args: customRender) => {
|
||||||
const {operation_sync} = args.record
|
const {operation_sync} = args.record
|
||||||
if (operation_sync) {
|
if (operation_sync) {
|
||||||
return h(Tag, {color: 'success'}, {default: ()=> h('span', '是')})
|
return h(Tag, {color: 'success'}, {default: ()=> h('span', $gettext('Yes'))})
|
||||||
} else {
|
} else {
|
||||||
return h(Tag, {color: 'default'}, {default: ()=> h('span', '否')})
|
return h(Tag, {color: 'default'}, {default: ()=> h('span', $gettext('No'))})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
|
|
5019
frontend/yarn.lock
Normal file
5019
frontend/yarn.lock
Normal file
File diff suppressed because it is too large
Load diff
|
@ -15,7 +15,7 @@ func InitRouter() *gin.Engine {
|
||||||
|
|
||||||
r.Use(cacheJs())
|
r.Use(cacheJs())
|
||||||
|
|
||||||
r.Use(OperationSync())
|
//r.Use(OperationSync())
|
||||||
|
|
||||||
r.Use(static.Serve("/", mustFS("")))
|
r.Use(static.Serve("/", mustFS("")))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue