uni-oaview 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,9 +52,13 @@
52
52
  'http://192.168.10.11:6174',
53
53
  'http://dev-oa.ge.cn:6174',
54
54
  'http://test-oa.ge.cn:6174',
55
+ 'http://dev-oa.ge.cn',
56
+ 'http://test-oa.ge.cn',
57
+ 'http://192.168.10.11',
58
+ 'http://192.168.11.231',
55
59
  ];
56
60
  const show = ref(false);
57
- const isShowDebugButton = ref(true);
61
+ const isShowDebugButton = ref(whiteUrls.includes(uni.getStorageSync('baseUrl')) || !!uni.getStorageSync('isDebug'));
58
62
  const list = ref(['console', 'network', 'event', 'error', 'storage', 'system']);
59
63
  const current = ref(0);
60
64
  const openDebug = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uni-oaview",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "uniapp小程序组件库",
5
5
  "main": "dist/index.umd.js",
6
6
  "typings": "dist/index.d.ts",