fix: bug#20763、20736、20731

* fix: bug#20763、20736、20731
This commit is contained in:
XieYongHong 2023-12-05 11:11:49 +08:00 committed by GitHub
parent 9ba07046e3
commit 3beae8b718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 50 additions and 26 deletions

View File

@ -13,6 +13,7 @@
"prepare": "husky install" "prepare": "husky install"
}, },
"dependencies": { "dependencies": {
"@ant-design/icons-vue": "^7.0.1",
"@liveqing/liveplayer-v3": "^3.7.10", "@liveqing/liveplayer-v3": "^3.7.10",
"@types/marked": "^4.0.8", "@types/marked": "^4.0.8",
"@vitejs/plugin-vue-jsx": "^3.0.0", "@vitejs/plugin-vue-jsx": "^3.0.0",
@ -37,6 +38,7 @@
"nrm": "^1.2.5", "nrm": "^1.2.5",
"pinia": "^2.0.28", "pinia": "^2.0.28",
"rollup-plugin-copy": "^3.4.0", "rollup-plugin-copy": "^3.4.0",
"rxjs": "^7.8.1",
"unplugin-auto-import": "^0.12.1", "unplugin-auto-import": "^0.12.1",
"unplugin-vue-components": "^0.22.12", "unplugin-vue-components": "^0.22.12",
"v-clipboard3": "^0.1.4", "v-clipboard3": "^0.1.4",

View File

@ -71,7 +71,6 @@
</template> </template>
<script setup lang="ts" name="Debug"> <script setup lang="ts" name="Debug">
import { PropType } from 'vue'; import { PropType } from 'vue';
import { DeleteOutlined, PlusOutlined } from '@ant-design/icons-vue';
import { useProductStore } from '@/store/product'; import { useProductStore } from '@/store/product';
import { useRuleEditorStore } from '@/store/ruleEditor'; import { useRuleEditorStore } from '@/store/ruleEditor';
import moment from 'moment'; import moment from 'moment';

View File

@ -163,6 +163,7 @@
v-if="provider !== 'snap7'" v-if="provider !== 'snap7'"
:name="['configuration', 'requestTimeout']" :name="['configuration', 'requestTimeout']"
:rules="LeftTreeRules.requestTimeout" :rules="LeftTreeRules.requestTimeout"
label='请求超时时间'
> >
<j-input-number <j-input-number
style="width: 100%" style="width: 100%"

View File

@ -26,7 +26,7 @@
clipOrigin: [459, 92], clipOrigin: [459, 92],
clipSize: [50, 68], clipSize: [50, 68],
}" }"
>123</el-amap-label-marker ></el-amap-label-marker
> >
</AmapComponent> </AmapComponent>
</div> </div>

View File

@ -83,6 +83,7 @@ watchEffect(() => {
type: i?.valueType?.type || 'string', type: i?.valueType?.type || 'string',
rename: i.id rename: i.id
}, },
ellipsis: true,
}); });
}); });
} else { } else {

View File

@ -81,8 +81,11 @@ const queryChartsAggList = async () => {
from: prop.time[0], from: prop.time[0],
to: prop.time[1], to: prop.time[1],
}, },
}); }).finally(
loading.value = false; ()=>{
loading.value = false;
}
)
if (resp.status === 200) { if (resp.status === 200) {
const dataList: any[] = [ const dataList: any[] = [
{ {
@ -127,8 +130,12 @@ const queryChartsList = async () => {
], ],
sorts: [{ name: 'timestamp', order: 'asc' }], sorts: [{ name: 'timestamp', order: 'asc' }],
}, },
); ).finally(
loading.value = false; ()=>{
loading.value = false;
}
)
if (resp.status === 200) { if (resp.status === 200) {
const dataList: any[] = [ const dataList: any[] = [
{ {

View File

@ -65,8 +65,10 @@ const query = async () => {
}, },
sorts: { timestamp: 'asc' }, sorts: { timestamp: 'asc' },
}), }),
); ).finally(()=>{
loading.value = false; loading.value = false;
}
)
if (resp.status === 200) { if (resp.status === 200) {
const list: any[] = []; const list: any[] = [];
((resp.result as any)?.data || []).forEach((item: any) => { ((resp.result as any)?.data || []).forEach((item: any) => {

View File

@ -66,7 +66,7 @@
required: true, required: true,
message: '请输入页面地址', message: '请输入页面地址',
}, },
{ max: 128, message: '最多可输入128字符' }, { max: 128, message: '最多可输入128字符' },
{ pattern: /^\//, message: '请正确填写地址,以/开头' }, { pattern: /^\//, message: '请正确填写地址,以/开头' },
]" :validateFirst="true" label="页面地址" name="url"> ]" :validateFirst="true" label="页面地址" name="url">
<j-input v-model:value="form.data.url" placeholder="请输入页面地址" /> <j-input v-model:value="form.data.url" placeholder="请输入页面地址" />

View File

@ -196,17 +196,14 @@ const table = reactive({
], ],
}, },
{ {
terms:[ type: 'or',
terms:[
{ {
terms:[ value:"%show\":true%",
{ termType:"like",
value:"%show\":true%", column:"options"
termType:"like",
column:"options"
}
]
} }
] ]
} }
], ],
}; };
@ -239,7 +236,7 @@ const table = reactive({
router.push( router.push(
`/system/Menu/detail/:id?pid=${row.id}&basePath=${ `/system/Menu/detail/:id?pid=${row.id}&basePath=${
row.url || '' row.url || ''
}&sortIndex=${sortIndex + 1}&isChildren=${true}`, }&sortIndex=${sortIndex + 1}`,
); );
}, },

View File

@ -54,6 +54,14 @@
"@ant-design/colors" "^6.0.0" "@ant-design/colors" "^6.0.0"
"@ant-design/icons-svg" "^4.2.1" "@ant-design/icons-svg" "^4.2.1"
"@ant-design/icons-vue@^7.0.1":
version "7.0.1"
resolved "https://registry.npmjs.org/@ant-design/icons-vue/-/icons-vue-7.0.1.tgz#83de301771fadd03f3890e627314102405c31c22"
integrity sha512-eCqY2unfZK6Fe02AwFlDHLfoyEFreP6rBwAZMIJ1LugmfMiVgwWDYlp1YsRugaPtICYOabV1iWxXdP12u9U43Q==
dependencies:
"@ant-design/colors" "^6.0.0"
"@ant-design/icons-svg" "^4.2.1"
"@antfu/utils@^0.7.2": "@antfu/utils@^0.7.2":
version "0.7.2" version "0.7.2"
resolved "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.2.tgz" resolved "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.2.tgz"
@ -5891,6 +5899,13 @@ rxjs@^7.5.7:
dependencies: dependencies:
tslib "^2.1.0" tslib "^2.1.0"
rxjs@^7.8.1:
version "7.8.1"
resolved "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543"
integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==
dependencies:
tslib "^2.1.0"
safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@~5.2.0: safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@~5.2.0:
version "5.2.1" version "5.2.1"
resolved "https://registry.jetlinks.cn/safe-buffer/-/safe-buffer-5.2.1.tgz" resolved "https://registry.jetlinks.cn/safe-buffer/-/safe-buffer-5.2.1.tgz"